Playing with variadric fix point combinators in ES6

# liorean (10 years ago)

I've been playing around with the new syntax for a while, and while searching for a way to get the familiar applicative order Y combinator to handle mutually recursive functions hadn't managed to find a JavaScript example, just Python, Haskell, Scheme, OCaml and of course pure lambda calculus. So I wrote one, though there is really no original work involved except for direct transposition. If anyone wants to program without variables ;) here's a helper for you-

lpaste.net/130856 or www.es6fiddle.com/i8laijui