yjtools-0.9.17: some tools for Monad, List, Tuple and so on.

Data.List.Tools

takeUntil :: (a -> Bool) -> [a] -> [a]Source

dropUntil :: (a -> Bool) -> [a] -> [a]Source

mulLists :: [[a]] -> [[a]]Source

defaultElem :: a -> [a] -> [a]Source

isIncludedElem :: Eq a => [a] -> [a] -> BoolSource

setAt :: [a] -> Int -> a -> [a]Source

modifyAt :: [a] -> Int -> (a -> a) -> [a]Source