RosettaCodeData/Task/Y-combinator/CoffeeScript/y-combinator-2.coffee

2 lines
51 B
CoffeeScript

Y = (f) -> ((h)->h(h))((h)->f((t...)->h(h)(t...)))