On May 18, 2009, at 21:19 , michael rice wrote:
*Main> :t ints 0 ints 0 :: Chain *Main> ints 0<interactive>:1:0: No instance for (Show Chain)
In general, you want to append
deriving Show
to your types. You may also want to be able to input them in ghci, so
instead say
deriving (Show, Read)
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [email protected]
system administrator [openafs,heimdal,too many hats] [email protected]
electrical and computer engineering, carnegie mellon university KF8NH
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
