Skip to content

ParseError is data when it should be newtype #56

Closed
@JordanMartinez

Description

@JordanMartinez

I can't see a reason why this shouldn't be using newtype:

-- | The type of parsing errors.
newtype ParseError = ParseError String

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