list-zipper 0.0.8 → 0.0.9
raw patch · 3 files changed
+6/−10 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.ListZipper: rev :: ListZipper a -> ListZipper a
Files
- changelog.md +4/−0
- list-zipper.cabal +1/−1
- src/Data/ListZipper.hs +1/−9
changelog.md view
@@ -1,3 +1,7 @@+0.0.9++* fix reversing+ 0.0.8 * add `rev` function to reverse
list-zipper.cabal view
@@ -1,5 +1,5 @@ name: list-zipper-version: 0.0.8+version: 0.0.9 license: BSD3 license-file: LICENCE author: Queensland Functional Programming Lab <oᴉ˙ldɟb@llǝʞsɐɥ>
src/Data/ListZipper.hs view
@@ -30,8 +30,6 @@ , list -- * indices , zipperIndices--- * transform-, rev -- * movement , moveLeft , moveRight@@ -196,7 +194,7 @@ instance Reversing (ListZipper a) where reversing (ListZipper l x r) =- ListZipper (reverse l) x (reverse r)+ ListZipper r x l type instance IxValue (ListZipper a) = a type instance Index (ListZipper a) = Int@@ -363,12 +361,6 @@ (reverse l') (ln, x) (zip [ln + 1..] r)--rev ::- ListZipper a- -> ListZipper a-rev (ListZipper l x r) =- ListZipper r x l moveStart :: ListZipper a