
30 Jan
2007
30 Jan
'07
5:34 p.m.
The Num class does not contain toInteger. The IsString class is only intended for string literals, and the fromString is what you need. -- Lennart On Jan 30, 2007, at 22:18 , Neil Mitchell wrote:
Hi
+class IsString a where + fromString :: String -> a
Any reason there isn't a corresponding toString? Seems like the logical counterpart.
Thanks
Neil _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries