basic docs

This commit is contained in:
Micah Kendall
2022-11-24 08:23:46 +11:00
committed by Lucas
parent d5087dbcc7
commit 77e3b57ff0
6 changed files with 115 additions and 0 deletions

View File

@@ -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
}
```