-
Notifications
You must be signed in to change notification settings - Fork 28
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
Chapter 8 exercise "reverse" #111
Comments
Wow that’s odd! What happens if you also add a plain GHC signature seed :: [a] |
It seems that I get the same error even if I add that Haskell type signature. |
Hmm definitely something odd going on -- I believe it works if you make |
Yes, I can confirm that defining |
Adding
|
I also noticed that you don't even need to use abstract refinements to get the bug. i.e. if I remove all references to However, if I remove the owl braces |
I suspect that the bug comes from the built-in refinement of If I port |
For reference, here's the template given in the material:
The empty list given to
go
has (vacuously) only unique values, hasn't it? I tried to bind it in a variable and declare it as unique as follows:This led into a weird error:
I wonder what's the issue here.
The text was updated successfully, but these errors were encountered: