lambda soul algebra
We are currying a lambda and using three different ways to call 'call' on it, that's what!
->a,b,c,d { a + b + c + d }.curry.call(1)[2].(3)===4
Written by Dave Goodchild
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#