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] allbery@kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH