tlex-encoding 0.3.0.0 → 0.4.0.0
raw patch · 2 files changed
+15/−15 lines, 2 filesdep +enummapsetdep −enummapset-thdep ~basedep ~charsetdep ~containersPVP ok
version bump matches the API change (PVP)
Dependencies added: enummapset
Dependencies removed: enummapset-th
Dependency ranges changed: base, charset, containers, tlex, tlex-core
API changes (from Hackage documentation)
Files
src/Language/Lexer/Tlex/Data/Reporter.hs view
@@ -42,6 +42,11 @@ , getResult = getResult mf do getResult mx } + mx *> my = Reporter+ { getReportBag = getReportBag mx <> getReportBag my+ , getResult = getResult my+ }+ instance Monad (Reporter e) where mx >>= f = let my = f do getResult mx@@ -49,8 +54,3 @@ { getReportBag = getReportBag mx <> getReportBag my , getResult = getResult my }-- mx >> my = Reporter- { getReportBag = getReportBag mx <> getReportBag my- , getResult = getResult my- }
tlex-encoding.cabal view
@@ -2,7 +2,7 @@ build-type: Custom name: tlex-encoding-version: 0.3.0.0+version: 0.4.0.0 license: Apache-2.0 OR MPL-2.0 license-file: LICENSE copyright: (c) 2021 Mizunashi Mana@@ -89,14 +89,14 @@ -dcore-lint build-depends:- base >= 4.12.0 && < 4.15,+ base >= 4.12.0 && < 5, -- project depends- tlex-core >= 0.3.0 && < 0.4,- tlex >= 0.3.0 && < 0.4,- charset >= 0.3.7 && < 0.4,- containers >= 0.6.0 && < 0.7,- enummapset-th >= 0.6.0 && < 0.7,+ tlex-core >= 0.4.0 && < 0.5,+ tlex >= 0.4.0 && < 0.5,+ charset >= 0.3.7 && < 1,+ containers >= 0.6.0 && < 1,+ enummapset >= 0.7.1 && < 1, autogen-modules: Paths_tlex_encoding@@ -105,9 +105,9 @@ custom-setup setup-depends:- base,- Cabal,- cabal-doctest,+ base >= 4.12.0 && < 5,+ Cabal >= 3.6 && < 4,+ cabal-doctest >= 1.0.9 && < 2, library import: