Added types
This commit is contained in:
parent
60a920734d
commit
188b85fdce
33 changed files with 113 additions and 92 deletions
|
@ -2,10 +2,10 @@ main() {
|
|||
assert f(2) == 6
|
||||
}
|
||||
|
||||
f(x) {
|
||||
f(x Int) -> Int {
|
||||
return x + 1 + g(x)
|
||||
}
|
||||
|
||||
g(x) {
|
||||
g(x Int) -> Int {
|
||||
return x + 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue