Changes add function to a single tuple param, resolving example LIGO statement
This commit is contained in:
parent
2c26d0e5ba
commit
fff734dd00
@ -88,7 +88,7 @@ with a new value being bound in place of the old one.
|
|||||||
|
|
||||||
```cameligo
|
```cameligo
|
||||||
|
|
||||||
let add (a: int) (b: int) : int =
|
let add (a,b: int * int): int =
|
||||||
let c : int = a + b in c
|
let c : int = a + b in c
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user