projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-05-26 05:48:07 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
stranal
/
goo.lhs
1
> module Test where
2
> data Goo a = Gsimpl | Gcompl ([Goo a])
3
> data Moo a b = Msimple | Mcompl (Moo b a)
4
5
6
> idGoo :: Goo a -> Goo a
7
> idGoo x = x
8
9
> idMoo :: Moo a -> Moo a
10
> idMoo x = x