Copyright | © Frank Jung 2020 |
---|---|
License | GPL-3 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
SplitList
Description
Split a list in half using zipWith
.
Synopsis
- every2nd :: [a] -> [a]
- zipOverflow :: [a] -> [a] -> [a]
- splitMiddle :: [a] -> ([a], [a])
Documentation
zipOverflow :: [a] -> [a] -> [a] Source #
Ignore count of first elements then print overflow from second.
splitMiddle :: [a] -> ([a], [a]) Source #
Split list into two.