index
:
h99.git
master
Haskell 99 problems
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
H16.hs
blob: 68978a76e3f947d66a211a99f9c2afd6225ab513 (
plain
)
1
2
dropEvery :: [a] -> Int -> [a] dropEvery xs c = [x| (x,y) <- (zip xs [1..]), y `mod` c /= 0 ]