Skip to content

Support for partial application #22

@bas080

Description

@bas080

It makes sense to be able to perform something like partial application without the need for helpers out of the box.

One way of doing this is by using plain javascript functions. If it is not a sendscript reference we
can try to do something useful. How is still unclear.

example:

const putPost = title => getPost(title).catch(() => updatePost(title))

Alternative is to allow fn.bind where the this is ignored regardless what is passed to it. This reads less nice since the this is ignored and creates noise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions