Added types
This commit is contained in:
@ -4,10 +4,10 @@ main() {
|
||||
assert result == 10
|
||||
}
|
||||
|
||||
div(x, y) {
|
||||
div(x Int, y Int) -> Int {
|
||||
return x / y
|
||||
}
|
||||
|
||||
div10(x) {
|
||||
div10(x Int) -> Int {
|
||||
return x / 10
|
||||
}
|
Reference in New Issue
Block a user