The Mysterious Y-Combinator

in #javascript8 years ago

Since I'm new here, I might as well share some of my blog posts, for those interested. This one is an in-depth deconstruction of the Y-Combinator concept (from lambda calculus) in JavaScript. Very interesting stuff! (I think so, anyway)

Here's a teaser—the y-combinator in ES6:

const Y = f => (x => f(v => x(x)(v)))(x => f(v => x(x)(v)))

Read on...

The Mysterious Y-Combinator