Idiomatically determine all the lowercase and uppercase letters: Difference between revisions
Idiomatically determine all the lowercase and uppercase letters (view source)
Revision as of 09:56, 13 March 2017
, 7 years ago→{{header|Haskell}}: (slightly simplified chunksOf)
(→{{header|Haskell}}: or generalising beyond a narrowly Anglo-Saxon notion of the alphabet) |
m (→{{header|Haskell}}: (slightly simplified chunksOf)) |
||
Line 205:
chunksOf :: Int -> [a] -> [[a]]
chunksOf i xs =
where
splits [] _ n = []
|