Skip to content

Replace Pure with F Identity? #33

Description

@bglgwyng

I’m still getting used to hypertypes, but I’ve noticed that most of my use cases involve F m, where m is especially often a monad. I usually write do-notation code wrapped in _F # do ....

This made me wonder whether Pure and Prune could be replaced by F Identity and F Maybe, respectively. It seems like this might be more convenient and encourage a more canonical style when working with hypertypes.

Has this approach been considered before? Are there semantic, ergonomics, or performance reasons to keep Pure and Prune as separate types?

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