Ruby - Functional Patterns in Ruby
What will be the output of this Ruby code?
subtract = ->(a, b) { a - b }
curried_subtract = subtract.curry
subtract_from_ten = curried_subtract.call(10)
puts subtract_from_ten.call(4)