-
Notifications
You must be signed in to change notification settings - Fork 26
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
Compiling issue: define extractor pattern example from Encore's doc and hit error when compile it #292
Comments
A tip is to try to always reduce the program causing the bug as much as possible. Here is a program with the same error:
This makes it easier to determine what the bug is. |
yes, I agree with you. Thanks. |
It seems like the problem is typechecking tuples wrapped in |
I'm too busy to fix it right now, but see if you can get it working by yourself and ask if you get stuck! |
I have fix it by adding a case |
Good! Now it's just a pull request away :) |
Fix #292: adding tuple in `hasSameKind` function in `Type.hs`
Can't reproduce it on |
When I tried to compile the snippet of code.
There is an error message during type checking.
The text was updated successfully, but these errors were encountered: