Basic type system working

This commit is contained in:
Neemek 2025-03-16 22:46:49 +01:00
parent 3f260e7ffd
commit 84cc845748
Signed by: neemek
GPG key ID: 28360A8951CD0E9B
19 changed files with 900 additions and 131 deletions

View file

@ -6,7 +6,7 @@ fibonacci_numbers := [
1346269, 2178309, 3524578, 5702887, 9227465, 14930352
]
func fib(n) {
func fib(n: number) number {
if n < 2 {
return n
}