public
Created

Kleyn: FP II

  • Download Gist
42.rb
Ruby
1 2 3 4
increment = add.curry.(1)
 
# Calculate the answer to life, the universe, and everything.
increment.(41) # => 42

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.