Skip to content

Instantly share code, notes, and snippets.

@kmizu
Last active February 27, 2020 05:25
Show Gist options
  • Save kmizu/f1ce1f052d5788fe6a752461ca6a53f8 to your computer and use it in GitHub Desktop.
Save kmizu/f1ce1f052d5788fe6a752461ca6a53f8 to your computer and use it in GitHub Desktop.
A
def mul(x, y) = x _*_ y
mul(
[1 2 3],
[4
5
6]) // 32
mutable i = 0
save c;
val result = if(i < 10) {
i = i + 1
continue c
} else {
i
}
println(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment