projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Utility functions for vectorisation
[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