More docs

This commit is contained in:
Micah Kendall
2022-11-25 17:34:22 +11:00
committed by Lucas
parent 77e3b57ff0
commit 7dc5392a81
10 changed files with 132 additions and 11 deletions

View File

@@ -1 +1,15 @@
# Int
Ints are plutus integers which are arbitrary size.
So, there is no underflow. Basic arithmetic can be done for O(1) between ints (+,-,*).
```gleam
// A convenient helper function to get the number 7.
pub fn get7(){
let x = 3
let y = 2
let z = 1
x*y + z
}
```