-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
makeShowHF doesn't work for lists #34
Comments
After digging through the code it seems the following lines in the makeShowHF function create the problem:
In our case
|
Another option is something like this:
|
First of all thanks for the incredible library! I am using it on a compiler project and the Data.Comp.Multi modules have been incredibly useful for manipulting the AST.
One problem that I have encountered is that
makeShowHF
does not work for lists or maybe values. All other derivations work perfectly!Here is a minimal example:
This fails with:
I can get around this via hacks but it's not really ergonomic:
The equivalent seems to work for makeShowF so I thought maybe this was worth reporting.
The text was updated successfully, but these errors were encountered: