You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read instances weren't in Unbound so I didn't add them to unbound-generics
For most of my own projects using unbound-generics I was not using it for the surface syntax of a language - only for an internal IR. So the Show instances were only for debugging, not for anything user-visible. Consequently I never had a use for Read - the surface languages always used normal parsers (either using happy or using parsec).
I'd accept a PR implementing Read instances, but they would need to be perfect inverses of Show - which I'm not sure is possible because the Show instances omit some information.
Do
Read
instances don't exist by design choice or it can be somehow derived? Instances forName a
from http://hackage.haskell.org/package/unbound-generics-0.4.0/docs/src/Unbound.Generics.LocallyNameless.Name.html#line-84and
Bind p t
from http://hackage.haskell.org/package/unbound-generics-0.4.0/docs/src/Unbound.Generics.LocallyNameless.Bind.html#BindThe text was updated successfully, but these errors were encountered: