Skip to content

Instantly share code, notes, and snippets.

@voidlily voidlily/lambdas.rb
Last active Oct 4, 2015

What would you like to do?
l = lambda { |x| x + 5 }
l(3) # doesn't work # works
l[3] # works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.