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

5 lines
52 B
CoffeeScript
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
((x)->
2 + x(-> 5)
)((y) -> y()+3)
# result: 10