[Haskell-cafe] The Read Class
ti.veloso at gmail.com
Sun Oct 29 06:45:53 EST 2006
I wold like some examples (no importance how interesting)
Maybe i can work my way from there.
On 28 Oct 2006, at 23:32, Daniel Fischer wrote:
> probably the best way is to write a parser using ReadP/ReadPrec and
> instance Read SomeType where
> readPrec = yourParser
> If you wish, I could send you a few examples (not very interesting,
> but they
> might help getting you going).
> Am Samstag, 28. Oktober 2006 23:49 schrieb Tiago Veloso:
>> I am trying to find out how to work with the Read Class for a school
>> project, i need to declare instances of Read for a few data types.
>> My problem is that i do not know how to do it, i mean i do not know
>> how to build a Read instance, i do know about it for the Show Class.
>> Can some one help?
>> Tiago Veloso
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe