On Sep 27, 2007, at 14:14 , bbrown wrote:
instance Show SimplePlayer where
show a = "<Simple> posX [" ++ show a{posX} ++ "]"
instance Show SimplePlayer where
show a = "<Simple> posX [" ++ show (posX a) ++ "]"
You might also want to consider deriving(Show).
--
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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe