Improved type system
This commit is contained in:
parent
3550f9e24e
commit
b8e37fafae
62 changed files with 189 additions and 172 deletions
|
@ -4,7 +4,7 @@ main() {
|
|||
log.number(factorial(5))
|
||||
}
|
||||
|
||||
factorial(x Int) -> Int {
|
||||
factorial(x int) -> int {
|
||||
if x <= 1 {
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue