2 Sent: Tuesday, June 29, 1999 3:39 PM
3 To: hugs-bugs@haskell.org
4 Subject: Show for higher-order nested datatypes
7 Is "deriving Show" meant to work for higher-order nested datatypes ?
8 Hugs hangs when loading in the following file:
13 type SqMat a = SM Nil a
15 data SM f a = ZeroS (f (f a)) | SuccS (SM (Cons f) a)
19 data Nil a = MkNil deriving Show
21 data Cons f a = MkCons a (f a)