Improved type system
This commit is contained in:
@ -74,10 +74,10 @@ main() {
|
||||
sys.exit(1)
|
||||
}
|
||||
|
||||
inc(x Int) -> Int {
|
||||
inc(x int) -> int {
|
||||
return x + 1
|
||||
}
|
||||
|
||||
dec(x Int) -> Int {
|
||||
dec(x int) -> int {
|
||||
return x - 1
|
||||
}
|
Reference in New Issue
Block a user