Skip to content

[generics-rep] No instance for Unit? #242

@athanclark

Description

@athanclark

Why isn't there a Generic Unit rep instance? Is it because there's no data constructors? If so, why would it not be technically trivial to generate a value of Unit given the fact that one exists? I'm not sure if I follow the technical reasoning why there isn't an instance, but I could see it because of how weird Unit is for purescript.

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