projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git]
/
ghc
/
tests
/
codeGen
/
should_run
/
cg009.hs
1
main = print (length take_list)
2
where
3
take_list :: [Int]
4
take_list = takeWhile (\ x -> x < 6) given_list
5
6
given_list :: [Int]
7
given_list = [1,2,3,4,5,6,7,8,9]