projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
17e51ab51db8b2597ff03422c91c4687306296fb
[ghc-hetmet.git]
/
compiler
/
ilxGen
/
tests
/
test6.hs
1
data List a = Cons a (List a)
2
3
hdL (Cons x y) = x
4
tlL (Cons x y) = y
5
6
test = Cons "hello world\n" test
7
main = putStr (hdL (tlL test))
8