yjtools 0.9.5 → 0.9.6
raw patch · 2 files changed
+5/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.List.Tools: isIncludedElem :: (Eq a) => [a] -> [a] -> Bool
Files
- Data/List/Tools.hs +4/−0
- yjtools.cabal +1/−1
Data/List/Tools.hs view
@@ -3,6 +3,7 @@ , dropUntil , mulLists , defaultElem+, isIncludedElem ) where takeUntil :: (a -> Bool) -> [a] -> [a]@@ -23,3 +24,6 @@ defaultElem :: a -> [a] -> [a] defaultElem dflt [] = [ dflt ] defaultElem _ lst = lst++isIncludedElem :: Eq a => [a] -> [a] -> Bool+isIncludedElem lst1 lst2 = and $ map (flip elem lst2) lst1
yjtools.cabal view
@@ -1,5 +1,5 @@ Name: yjtools-Version: 0.9.5+Version: 0.9.6 Cabal-Version: >= 1.2 Build-Type: Simple License: LGPL