fj-yc

1.0.0 • Public • Published

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(- 1));
fact(5) // 120;

/fj-yc/

    Package Sidebar

    Install

    npm i fj-yc

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • hemanth
    • stoeffel