packages feed

mmsyn5 0.1.2.0 → 0.1.3.0

raw patch · 3 files changed

+7/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -15,4 +15,9 @@  * First version revised B. Dependencies checking. +## 0.1.3.0 -- 2019-11-04++* First version revised C. Fixed an issue with the takeNth function.++ 
Data/List/Nth.hs view
@@ -23,7 +23,7 @@ takeNth :: Int -> (a -> Bool) -> [a] -> [a] takeNth n p xs | n <= 0 = []                | otherwise = -  takeWithFirst (not . p) xs ++ takeNth (n - 1) p (dropWithFirst p xs) +  takeWithFirst p xs ++ takeNth (n - 1) p (dropWithFirst p xs)   -- | Function that drops a list containing elements consequently up to n occurencies of @p a = True@ in @map p [a]@ dropNth :: Int -> (a -> Bool) -> [a] -> [a]
mmsyn5.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                mmsyn5-version:             0.1.2.0+version:             0.1.3.0 synopsis:            Various additional operations on lists description:         A small library to deal with a little bit more complex operations on lists than Data.List module homepage:            http://hackage.haskell.org/package/mmsyn5