Added types
This commit is contained in:
@ -5,6 +5,6 @@ main() {
|
||||
assert neg(256) == -256
|
||||
}
|
||||
|
||||
neg(x) {
|
||||
neg(x Int) -> Int {
|
||||
return -x
|
||||
}
|
Reference in New Issue
Block a user