Improved type system
This commit is contained in:
@ -4,7 +4,7 @@ main() {
|
||||
log.number(factorial(5))
|
||||
}
|
||||
|
||||
factorial(x Int) -> Int {
|
||||
factorial(x int) -> int {
|
||||
if x <= 1 {
|
||||
return 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user