On 2/16/06, Neil Mitchell <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
"Computer science is no more about computers than astronomy is about
telescopes."
    -- Edsger Dijkstra
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to