[Haskell-cafe] integrating Happy & Alex monads

Richard Cobbe cobbe at ccs.neu.edu
Fri Dec 27 12:51:08 UTC 2013


On Thu, Dec 26, 2013 at 10:05:12PM -0800, Jason Dagit wrote:
> I made this example specifically to help people with this problem (the
> problem being that the documentation is spotty here).
>
> It's the expression parser from the happy documentation using the monad
> that alex can generate for you. It's the cleanest and simplest way (and
> simplest example) that I found to merge the two. I should really submit
> this as a documentation fix to happy.
>
> https://github.com/dagit/happy-plus-alex

Oh, wonderful!  I've only had a chance to glance at this quickly, but it
looks like it's exactly what I'm looking for.  I'll definitely spend some
more time with this example in a day or so when I have more time.

Thanks a bunch -- this is extremely helpful!

Richard


More information about the Haskell-Cafe mailing list