Last active
July 1, 2017 15:40
-
-
Save Ismael-VC/f56c2a79719f78f1e739bf243a7bdcec to your computer and use it in GitHub Desktop.
"Obfuscated" do-when loop in Julia.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval(:(@doc("do-when loop"->macro$(:do)(π,π::Symbol,π)πβ :when&&error("expected `when` got `$π`");:(let;$π;while(!$π);$π;end;end)|>esc;end))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment