mono-traversable 1.0.15.0 → 1.0.15.1
raw patch · 3 files changed
+11/−4 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ChangeLog.md +7/−0
- mono-traversable.cabal +2/−2
- src/Data/MonoTraversable.hs +2/−2
ChangeLog.md view
@@ -1,4 +1,11 @@+# ChangeLog for mono-traversable++## 1.0.15.1++* Remove whitespace after `@` in as-patterns for GHC HEAD [#186](https://github.com/snoyberg/mono-traversable/pull/186)+ ## 1.0.15.0+ * Added `toNonEmpty` to `Data.NonNull` [#185](https://github.com/snoyberg/mono-traversable/pull/185)
mono-traversable.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: d57979a825f3250908d497aed1b4696d537282997123f4504743df13c77c8175+-- hash: b2ac08c2845dd12213a3bc3c6e01f805bb98a7693a588b0ae313ceadcb5ca592 name: mono-traversable-version: 1.0.15.0+version: 1.0.15.1 synopsis: Type classes for mapping, folding, and traversing monomorphic containers description: Please see the README at <https://www.stackage.org/package/mono-traversable> category: Data
src/Data/MonoTraversable.hs view
@@ -1314,7 +1314,7 @@ instance MonoComonad (ViewL a) where oextract ~(x :< _) = x {-# INLINE oextract #-}- oextend f w@ ~(_ :< xxs) =+ oextend f w@(~(_ :< xxs)) = f w :< case Seq.viewl xxs of EmptyL -> Seq.empty xs -> case oextend f xs of@@ -1324,7 +1324,7 @@ instance MonoComonad (ViewR a) where oextract ~(_ :> x) = x {-# INLINE oextract #-}- oextend f w@ ~(xxs :> _) =+ oextend f w@(~(xxs :> _)) = (case Seq.viewr xxs of EmptyR -> Seq.empty xs -> case oextend f xs of