Tiago Veloso wrote: > 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.
if you run ghc with -ddump-deriv, you will see the instances that get generated when you use "derive". Cheers, Misha _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe