invertible-grammar 0.1.3.1 → 0.1.3.2
raw patch · 2 files changed
+11/−2 lines, 2 filesdep ~semigroupsdep ~template-haskelldep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: semigroups, template-haskell, text
API changes (from Hackage documentation)
Files
invertible-grammar.cabal view
@@ -1,5 +1,5 @@ name: invertible-grammar-version: 0.1.3.1+version: 0.1.3.2 license: BSD3 license-file: LICENSE author: Yevhen Smolanka, Sergey Vinokurov
src/Data/InvertibleGrammar/Monad.hs view
@@ -34,12 +34,21 @@ import Data.Text (Text) import GHC.Generics +#if MIN_VERSION_prettyprinter(1,7,0)+import Prettyprinter+ ( Doc, Pretty, pretty, vsep, hsep, line, indent, fillSep, punctuate+ , comma, colon, (<+>), layoutSmart, PageWidth(..), LayoutOptions(..)+ )+#else import Data.Text.Prettyprint.Doc ( Doc, Pretty, pretty, vsep, hsep, line, indent, fillSep, punctuate , comma, colon, (<+>), layoutSmart, PageWidth(..), LayoutOptions(..) )+#endif -#if MIN_VERSION_prettyprinter(1,2,0)+#if MIN_VERSION_prettyprinter(1,7,0)+import Prettyprinter.Render.String+#elif MIN_VERSION_prettyprinter(1,2,0) import Data.Text.Prettyprint.Doc.Render.String #else import Data.Text.Prettyprint.Doc (SimpleDocStream)