Added types

This commit is contained in:
2024-08-05 18:47:24 +02:00
parent cd1119add2
commit 83661c5e7a
33 changed files with 113 additions and 92 deletions

View File

@ -70,14 +70,14 @@ main() {
if x == 0 {
sys.exit(0)
}
sys.exit(1)
}
inc(x) {
inc(x Int) -> Int {
return x + 1
}
dec(x) {
dec(x Int) -> Int {
return x - 1
}