Hello Yitzchak! Sat, Feb 03, 2007 at 07:54:17PM +0200 you wrote:
> Show instances are supposed to follow the convention that > "show x" is a Haskell expression that recreates x. In other words, > Show is mainly used for debugging, for simple serialization, and > for interactive use in a Haskell shell like ghci or hugs. > > If you need to create strings from a datatype for some other > reason, use a different function name. If you need to do it > for several datatypes, create your own class. Yes, I think another Show-like class will probably be a better solution... Thanks Yitzchak and Bjorn, -- DoubleF No virus detected in this message. Ehrm, wait a minute... /kernel: pid 56921 (antivirus), uid 32000: exited on signal 9 Oh yes, no virus:)
pgpKrflZnT8EB.pgp
Description: PGP signature
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
