Improved type system

This commit is contained in:
2025-02-17 14:31:47 +01:00
parent 3550f9e24e
commit b8e37fafae
62 changed files with 189 additions and 172 deletions

View File

@ -15,14 +15,14 @@ main() {
assert i == 1 + 4
}
reverse2(a Int, b Int) -> (Int, Int) {
reverse2(a int, b int) -> (int, int) {
return b, a
}
reverse3(a Int, b Int, c Int) -> (Int, Int, Int) {
reverse3(a int, b int, c int) -> (int, int, int) {
return c, b, a
}
mix4(a Int, b Int, c Int, d Int) -> (Int, Int, Int, Int) {
mix4(a int, b int, c int, d int) -> (int, int, int, int) {
return d + a, c + b, b + c, a + d
}