trifecta 1.2 → 1.2.1
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~ansi-wl-pprintdep ~base
Dependency ranges changed: ansi-wl-pprint, base
Files
- src/Text/Trifecta/Parser.hs +3/−3
- trifecta.cabal +1/−1
src/Text/Trifecta/Parser.hs view
@@ -92,11 +92,11 @@ {-# INLINE many #-} some p = (:) <$> p <*> Alternative.many p -instance Semigroup (Parser a) where- (<>) = (<|>)+instance Semigroup a => Semigroup (Parser a) where+ (<>) = liftA2 (<>) {-# INLINE (<>) #-} -instance Monoid (Parser a) where+instance Monoid a => Monoid (Parser a) where mappend = liftA2 mappend {-# INLINE mappend #-} mempty = pure mempty
trifecta.cabal view
@@ -1,6 +1,6 @@ name: trifecta category: Text, Parsing, Diagnostics, Pretty Printer, Logging-version: 1.2+version: 1.2.1 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE