rex 0.6.1 → 0.6.2
raw patch · 3 files changed
+22/−13 lines, 3 files
Files
- Text/Regex/PCRE/Rex.hs +6/−1
- changelog.md +4/−0
- rex.cabal +12/−12
Text/Regex/PCRE/Rex.hs view
@@ -289,7 +289,12 @@ makePat conf (cnt, pat, exs) = do viewExp <- buildExp conf cnt pat $ map (fmap fst) views return . ViewP viewExp- . (\xs -> ConP 'Just [TupP xs])+ . (\xs -> ConP 'Just+#if MIN_VERSION_template_haskell(2,18,0)+ []+#endif+ [TupP xs]+ ) . map snd $ catMaybes views where views :: [Maybe (Exp, Pat)]
changelog.md view
@@ -1,5 +1,9 @@ # Changelog +## 0.6.2++ * Now compiles with GHC-9.2. See [#14][]+ ## 0.6.1 * Now compiles with GHC-8.10. See [#13][]
rex.cabal view
@@ -1,5 +1,5 @@ Name: rex-Version: 0.6.1+Version: 0.6.2 Synopsis: A quasi-quoter for typeful results of regex captures. Description: Provides a quasi-quoter for regular expressions which yields a tuple, of appropriate arity and types,@@ -21,20 +21,20 @@ Extra-source-files: Demo.hs, Bench.hs Data-files: readme.md changelog.md-Cabal-version: >=1.6+Cabal-version: >=1.10 Bug-Reports: http://github.com/mgsloan/rex/issues Source-Repository head Type: git Location: git://github.com/mgsloan/rex Library- Extensions: TemplateHaskell, QuasiQuotes, TupleSections, ViewPatterns- Exposed-modules: Text.Regex.PCRE.Rex, Text.Regex.PCRE.Precompile- Build-depends: base >= 3.0 && < 6,- bytestring,- containers,- haskell-src-exts >= 1.14,- haskell-src-meta >= 0.5,- pcre-light,- template-haskell >= 2.5.0.0- Ghc-options: -Wall+ default-language: Haskell2010+ exposed-modules: Text.Regex.PCRE.Rex, Text.Regex.PCRE.Precompile+ build-depends: base >= 3.0 && < 6,+ bytestring,+ containers,+ haskell-src-exts >= 1.14,+ haskell-src-meta >= 0.5,+ pcre-light,+ template-haskell >= 2.5.0.0+ ghc-options: -Wall