rex 0.6 → 0.6.1
raw patch · 3 files changed
+11/−1 lines, 3 files
Files
- Text/Regex/PCRE/Rex.hs +4/−0
- changelog.md +6/−0
- rex.cabal +1/−1
Text/Regex/PCRE/Rex.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TupleSections #-}@@ -331,6 +332,9 @@ . TupE -- filter out all "Nothing" exprs -- [(Expr, Variable applied to)]+#if MIN_VERSION_template_haskell(2,16,0)+ . map Just+#endif $ [AppE x (VarE v) | (Just x, v) <- zip xs vs] where makeLets _ [] = return []
changelog.md view
@@ -1,5 +1,11 @@ # Changelog +## 0.6.1++ * Now compiles with GHC-8.10. See [#13][]++[#13]: https://github.com/mgsloan/rex/issues/13+ ## 0.6 * Made the generated code total. See [#10][]
rex.cabal view
@@ -1,5 +1,5 @@ Name: rex-Version: 0.6+Version: 0.6.1 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,