Added types

This commit is contained in:
Eduard Urbach 2024-08-05 18:47:24 +02:00
parent 60a920734d
commit 188b85fdce
Signed by: eduard
GPG key ID: 49226B848C78F6C8
33 changed files with 113 additions and 92 deletions

View file

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