fantasy-cofrees

0.0.2 • Public • Published

Fantasy Cofrees

The Cofree Comonad for Functors.

Examples

Non-empty list using Cofree and Option:

var nel = Cofree(
    1,
    Option.Some(
        Cofree(
            2,
            Option.None
        )
    )
);

/fantasy-cofrees/

    Package Sidebar

    Install

    npm i fantasy-cofrees

    Weekly Downloads

    5

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • puffnfresh