Skip to content

Func File #9

@profbrandon

Description

@profbrandon

Some basic function primitives should live in a separate function library:

const id = x => x;
const compose = g => f => x => g(f(x));
const curry = bin => x => y => bin(x, y);
const uncurry = f => (x, y) => f(x)(y);
...

I'm not sure how much I'd use compose, but I feel like I can find several uses for curry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorPart of the code-base needs to be reorganized

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions