Skip to content

Do we want an instance for functions? #4

@treeowl

Description

@treeowl

The most natural way to lazify a function "shallowly" is to eta-expand it:

lazify f x = f x

Is that useful enough to give it an instance? Another option is to lazify the result:

lazify f x = lazify (f x)

which seems more useful but perhaps a worse fit.

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