[Haskell-cafe] Lazy read
taralx at gmail.com
Thu Feb 16 13:41:42 EST 2006
On 2/16/06, Neil Mitchell <ndmitchell at gmail.com> wrote:
> What is the best way to modify the code to have read operate lazily?
> Is there any method that doesn't require writing a custom parser? Is
> there any standard way for solving a problem like this?
Honestly, don't use read. It's icky.
Check out ReadP or parsec, they are far superior in general. I think
there was a suggestion of replacing Read with ReadP?
Taral <taralx at gmail.com>
"Computer science is no more about computers than astronomy is about
-- Edsger Dijkstra
More information about the Haskell-Cafe