[Haskell-cafe] ReadP and MonadFix

Gracjan Polak gracjanpolak at gmail.com
Fri Jun 23 06:58:29 EDT 2006


Hi all,

A question for hot summer day: Text.ParserCombinators.ReadP.ReadP is
an instance of Monad. Could it be an instance of MonadFix too?

I'm not that sharp in Haskell to write it myself, but it seems I could
make use of such a beast. :) Anybody willing to share?

This will also present the advantage of Lazy over Eager Parser
Combinators, mentioned in some other thread.

-- 
Gracjan


More information about the Haskell-Cafe mailing list