Skip to content

Instantly share code, notes, and snippets.

@BitOfUniverse
Created March 28, 2019 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BitOfUniverse/e415e79922cd10344518f6f210a9a7a0 to your computer and use it in GitHub Desktop.
Save BitOfUniverse/e415e79922cd10344518f6f210a9a7a0 to your computer and use it in GitHub Desktop.
Ruby infinite lambda self invocation
go_deeper.call.call.call.call.call.call.call.call
# You can try to implement it yourself. Your code will look like this:
(go_deeper = -> { puts "deeper"; go_deeper }).call.call.call.call.call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment