Skip to content

Data constructors with the same names as type constructors don’t infer correctly #14

Description

@robrix

E.g. if you rename the constructor these :: l -> r -> These l r to These :: l -> r -> These l r, its type can no longer be inferred.

I think the data constructor is overwriting the type constructor in the environment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions