xmlbf 0.6 → 0.6.1
raw patch · 3 files changed
+13/−4 lines, 3 files
Files
- ChangeLog.md +9/−2
- lib/Xmlbf.hs +3/−1
- xmlbf.cabal +1/−1
ChangeLog.md view
@@ -1,10 +1,17 @@+# 0.6.1++* Documentation improvements.++* Compatible with GHC 8.8.++ # 0.6 * COMPILER ASSISTED BREAKING CHANGE. `pFail` was removed in favour of `fail` from `Monad` of `MonadFail`. -* Added instances for `Parser`: `Semigroup`, `Monoid`, `Selective`, `MonadFix`,- `MonadZip`.+* Added instances for `Parser`: `Semigroup`, `Monoid`, `Selective`,+ `MonadFix`, `MonadZip`. * Documentation improvements.
lib/Xmlbf.hs view
@@ -322,8 +322,10 @@ (s1, a) <- unParser pa s0 unParser (kpb a) s1) {-# INLINABLE (>>=) #-}+#if !MIN_VERSION_base(4,13,0) fail = pFail {-# INLINE fail #-}+#endif #if MIN_VERSION_base(4,9,0) instance Control.Monad.Fail.MonadFail Parser where@@ -336,7 +338,7 @@ pFail = \msg -> Parser (\_ -> Left msg) {-# INLINE pFail #-} --- | @'mzero' ma mb@ backtracks the internal parser state before running @mb@.+-- | @'mplus' ma mb@ backtracks the internal parser state before running @mb@. instance MonadPlus Parser where mzero = empty {-# INLINE mzero #-}
xmlbf.cabal view
@@ -1,5 +1,5 @@ name: xmlbf-version: 0.6+version: 0.6.1 synopsis: XML back and forth! Parser, renderer, ToXml, FromXml, fixpoints. description: XML back and forth! Parser, renderer, ToXml, FromXml, fixpoints. homepage: https://gitlab.com/k0001/xmlbf