Integrating Megaparsec with Effectful #246
Unanswered
janmasrovira
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I didn't look closely, but I'm guessing that you should piggyback on ParsecT for everything. https://gist.github.com/CT075/6e0541728d9547e9ddf0b36a8ba50b56 looks generally alright, but I think it should probably use a Something like this:
I'm not sure if it works out in the end though. Maybe it can't be written and you need to work with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to define an effect that allows an instance of
MonadParsec
for effectul'sEff
?For my particular case, it would be enough to have
MonadParsec Void Text (Eff r)
.So far, I've been unable to do it successfully. This post poses the same question and explains the situation quite well:
https://discourse.haskell.org/t/integrating-megaparsec-with-effectful/9954
Beta Was this translation helpful? Give feedback.
All reactions