napkin-core-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Utils.Lists

Documentation

for :: [a] -> (a -> b) -> [b] #

chunksOf :: Int -> [e] -> [[e]] #

dropCommonPrefix :: Eq a => [a] -> [a] -> ([a], [a]) #

isShorter :: [a] -> [b] -> Bool #

mapHead :: (a -> a) -> [a] -> [a] #