util-0.1.17.0: Utilities

Safe HaskellSafe
LanguageHaskell2010

Util.List

Documentation

splitWhen :: (a -> Bool) -> [a] -> NonEmpty [a] Source #

padLeft :: Natural -> a -> [a] -> [a] Source #

zipWithRemaining :: (a -> b -> c) -> [a] -> [b] -> ([c], Maybe (Either (NonEmpty a) (NonEmpty b))) Source #