Skip to content

Kind checking data type usage #712

@danieljharvey

Description

@danieljharvey

Currently if we have:

type Maybe a = Just a | Nothing

then we can make another type like

type Wrong = Maybe Int String

This should fail because Maybe only takes one type arg, and this uses two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    as a treatA nice shiny exciting new thing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions