Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kind checking data type usage #712

Open
danieljharvey opened this issue Jun 20, 2022 · 1 comment
Open

Kind checking data type usage #712

danieljharvey opened this issue Jun 20, 2022 · 1 comment
Labels
as a treat A nice shiny exciting new thing

Comments

@danieljharvey
Copy link
Owner

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.

@danieljharvey danieljharvey added the bug Something isn't working label Jun 20, 2022
@danieljharvey
Copy link
Owner Author

We have a kind checker now, this is so close.

@danieljharvey danieljharvey added as a treat A nice shiny exciting new thing and removed bug Something isn't working labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
as a treat A nice shiny exciting new thing
Projects
None yet
Development

No branches or pull requests

1 participant