News for hackers. Stuff that matters.
Re:Curry flavored promises by reddyonrails on Monday April 28, 2014 @12:38AM (#7658232)
total_sum = total.curry

sum_of_cubes = total_sum.(lambda { |x| x^3} )

sum_of_cubes.(1,2)

In ruby way

There are no comments on this comment yet.