Skip to content

make sure that all methods that call array methods can accept curried functions or length > 1 #7

Open
@kevinbarabash

Description

@kevinbarabash

map had to be rewritten from

const map = curry((f, arr) => arr.map(f));

to

const map = curry((f, arr) => arr.map((x) => f(x)));

This allows for partial application of each function within an array of functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions