RosettaCodeData/Task/Higher-order-functions/CoffeeScript/higher-order-functions-6.coffee

5 lines
52 B
CoffeeScript
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
((x)->
2 + x(-> 5)
)((y) -> y()+3)
# result: 10