projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-07-27 09:27:45 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
deSugar
/
ds038.hs
1
--!!! Jon Hill reported a bug in desugaring this in 0.09
2
--!!! (recursive with n+k patts)
3
--
4
takeList :: Int -> [a] -> [a]
5
takeList 0 _ = []
6
takeList (n+1) [] = []
7
takeList (n+1) (x:xs) = x : takeList n xs