Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created May 4, 2011 11:19
Show Gist options
  • Save bakkdoor/955086 to your computer and use it in GitHub Desktop.
Save bakkdoor/955086 to your computer and use it in GitHub Desktop.
def while: a do: b {
loop() {
a call if_true: b else: { return nil }
}
}
i = 0
while: { i < 1_000_000 } do: {
i println
i = i + 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment