Added types
This commit is contained in:
examples
collatz
factorial
fibonacci
fizzbuzz
gcd
hello
prime
lib
src/build
tests
@ -2,6 +2,6 @@ main() {
|
||||
assert f(1) + f(2) + f(3) == 9
|
||||
}
|
||||
|
||||
f(x) {
|
||||
f(x Int) -> Int {
|
||||
return x + 1
|
||||
}
|
Reference in New Issue
Block a user