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
This doesn't work (the library won't compile if you delete the r on both sides), because now you're universally quantifying a higher-kinded type, which is almost always not going to behave well.
The reason this causes problems is that if you write:
Currently it's impossible to use
Parser
in a monad-transformer stack. In cases like the following:the compiler complains with:
So I suggest to remove the redundant
r
from the definition ofParser
:Of course, it's possible to work around the issue by expanding the type synonym in place, but it's still an issue.
The text was updated successfully, but these errors were encountered: