-
Notifications
You must be signed in to change notification settings - Fork 16
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
depth for generics is broken #47
Comments
Could you please clarify what exactly is broken here? |
well, I would expect the different constructors to appear equally in the generated list, but that doesn't seem the case. For example Test1 1 comes before Test3 "". |
I don't think this has anything to do with > listSeries 0 :: [Int]
[0]
> listSeries 0 :: [String]
[]
> listSeries 1 :: [Int]
[0,1,-1]
> listSeries 1 :: [String]
[""] |
Ah, indeed. Why do the instances for |
Because |
when using Generics, and incorrect depth is used:
it looks like it's using the depth of the Rep Test, instead of the depth of Test.
The text was updated successfully, but these errors were encountered: