Skip to content

BoundedEnum instance for Int has invalid cardinality #25

Closed
@matthewleon

Description

@matthewleon

Yes, Int violates a lot of typeclass laws... But the BoundedEnum instance having a cardinality of -1 seems particularly egregious. It certainly trapped me. Is this instance worth keeping despite that?

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