util-0.1.16.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 #