Improved type system
This commit is contained in:
parent
78f2670553
commit
6eab48c586
62 changed files with 189 additions and 172 deletions
|
@ -4,10 +4,10 @@ main() {
|
|||
assert result == 10
|
||||
}
|
||||
|
||||
div(x Int, y Int) -> Int {
|
||||
div(x int, y int) -> int {
|
||||
return x / y
|
||||
}
|
||||
|
||||
div10(x Int) -> Int {
|
||||
div10(x int) -> int {
|
||||
return x / 10
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue