Skip to content

coerce doesn't respect wether constructor is exported or not #146

@konsumlamm

Description

@konsumlamm

coerce should only allow coercing between newtypes, if their constructors are exported. However, e.g. coerce 'a' :: Word8 works.

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