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

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