basic docs
This commit is contained in:
@@ -1 +1,17 @@
|
||||
# Variables
|
||||
|
||||
Function variables with types
|
||||
```
|
||||
fn add(a:Int, b:Int) -> Int {
|
||||
a + b
|
||||
}
|
||||
```
|
||||
|
||||
Let bindings
|
||||
```
|
||||
fn something(){
|
||||
let a = 3
|
||||
let b = 5
|
||||
a + b
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user