Create a gist now

Instantly share code, notes, and snippets.

@ruprict /42.rb
Created Mar 21, 2012

What would you like to do?
Kleyn: FP II
increment = add.curry.(1)
# Calculate the answer to life, the universe, and everything.
increment.(41) # => 42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment