Skip to content

Possible error in compose example #8

Closed
@danillouz

Description

@danillouz

Hi, I stumbled on this repo while learning functional programming concepts. I'm still new to this, but I believe there is a compose call missing:

const reallyAngry = compose(exclaim, (toUpperCase, moreExclaim));

But shouldn't it be:

const reallyAngry = compose(exclaim, compose(toUpperCase, moreExclaim));

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