
7 Dec
2008
7 Dec
'08
1:39 p.m.
One more thing.
If your Read/Show instances are created by
data (or newtype) ...
deriving (Read,Show)
then read . show will do the right thing.
Thomas.
Am 7. Dezember 2008 14:11 schrieb John Ky
Hi,
Is there a way to read Showables?
main = do putStrLn $ show $ read
Thanks
-John
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe