packages feed

exon 0.2.0.0 → 0.2.0.1

raw patch · 3 files changed

+12/−7 lines, 3 filesdep ~flatparsePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: flatparse

API changes (from Hackage documentation)

Files

changelog.md view
@@ -1,3 +1,8 @@+# 0.2.0.0++* Add `exonws`, a variant that preserves whitespace.+* Add `exonWith`, a constructor for custom quasiquoters.+ # 0.1.1.0  * Add `Exon` instance for `String -> String`, used by `showsPrec`.
exon.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           exon-version:        0.2.0.0+version:        0.2.0.1 synopsis:       Monoidal Quasiquote Interpolation description:    See <https://hackage.haskell.org/package/exon/docs/Exon.html> category:       String@@ -105,7 +105,7 @@   ghc-options: -Wall -Wredundant-constraints -Wsimplifiable-class-constraints -Wunused-type-patterns   build-depends:       base ==4.*-    , flatparse ==0.2.*+    , flatparse >=0.2     , haskell-src-exts <1.24     , haskell-src-meta <0.9     , relude >=0.7 && <1.2@@ -188,17 +188,13 @@   build-depends:       base ==4.*     , exon-    , flatparse ==0.2.*-    , haskell-src-exts <1.24-    , haskell-src-meta <0.9     , hedgehog-    , relude >=0.7 && <1.2     , tasty     , tasty-hedgehog     , template-haskell     , text   mixins:       base hiding (Prelude)-    , exon hiding (Prelude)+    , exon hiding (Exon.Prelude)     , exon (Exon.Prelude as Prelude)   default-language: Haskell2010
lib/Exon/Quote.hs view
@@ -106,6 +106,8 @@ -- >>> exonnl = exonWith [t|Nl|] -- >>> [exonnl|one   two     three|] -- "one\ntwo\nthree"+--+-- @since 0.2.0.0 exonWith :: Q TH.Type -> QuasiQuoter exonWith tag =   QuasiQuoter (quoteExpWith tag) (err "pattern") (err "type") (err "decl")@@ -133,6 +135,8 @@   exonWith [t|ExonDefault|]  -- |A variant of 'exon' that always keeps whitespace verbatim.+--+-- @since 0.2.0.0 exonws :: QuasiQuoter exonws =   exonWith [t|KeepWhitespace|]