Skip to content

fp-js/fj-yc

Repository files navigation

fj-yc

Build Status npm version

The Applicative Order Y Combinator.

Installation

npm install fj-yc --save

Usage

var YC = require('fj-yc');
let fact = YC((fac) => (n) => n <= 2 ? n : n * fac(n - 1));
fact(5) // 120;

About

The Applicative Order Y Combinator.

Resources

License

Stars

Watchers

Forks

Packages

No packages published