Created
January 2, 2018 17:52
-
-
Save b-coimbra/e0336ef50caa3455c9f093c0c76d735a to your computer and use it in GitHub Desktop.
lambda clusterfuck
This file contains hidden or 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
define_method :λ, -> *args, &block { block::(args) } | |
λ{λ{λ{λ{λ{λ{λ{λ{λ(λ{λ{λ{5}}},λ{λ{2}},λ{λ{4}},λ{λ{5}}){|i|p i}}}}}}}}} # 3 2 4 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment