Improved type system
This commit is contained in:
@ -4,7 +4,7 @@ main() {
|
||||
log.number(gcd(1071, 462))
|
||||
}
|
||||
|
||||
gcd(a Int, b Int) -> Int {
|
||||
gcd(a int, b int) -> int {
|
||||
loop {
|
||||
switch {
|
||||
a == b { return a }
|
||||
|
Reference in New Issue
Block a user