packages feed

regexqq 0.5 → 0.6

raw patch · 3 files changed

+9/−4 lines, 3 files

Files

EXAMPLES view
@@ -4,6 +4,7 @@ -- Here is a pasteable-into-ghci version of the below:  :m + Text.Regex.PCRE.QQ+:set -XQuasiQuotes [$rx|([aeiou]).*(er|ing|tion)([\.,!\?]*)$|] "helloing.!?!?!" [$rx|^([+-])?([0-9]+)\.([0-9]+)|] (show $ negate pi) tail `fmap` [$rx|^([+-])?([0-9]+)\.([0-9]+)|] (show $ negate pi)@@ -14,6 +15,8 @@ ----------------------------------------------------------------------------------------  ghci> :m + Text.Regex.PCRE.QQ++ghci> :set -XQuasiQuotes  ghci> [$rx|([aeiou]).*(er|ing|tion)([\.,!\?]*)$|] "helloing.!?!?!" Just ["elloing.!?!?!","e","ing",".!?!?!"]
README.ghc-6.8 view
@@ -3,10 +3,10 @@ BUT, there is a patched ghc-6.8.3 that *does* support QuasiQuotes at: -http://code.haskell.org/~morrow/quasiquotes/ghc-6.8.3_QQ-0.1.tar.bz2+http://code.haskell.org/~morrow/quasiquotes/ghc-6.8.3_QQ-0.2.tar.bz2  NOTE:-  ghc-6.8.3_QQ-0.1.tar.bz2 *already*+  ghc-6.8.3_QQ-0.2.tar.bz2 *already*   has the extralibs included.  If you are unwilling/unable to use ghc-6.9, then building
regexqq.cabal view
@@ -1,5 +1,5 @@ name:               regexqq-version:            0.5+version:            0.6 cabal-version:      >= 1.2 build-type:         Simple license:            BSD3@@ -18,7 +18,9 @@                     patched version of ghc-6.8.3, made possible by audreyt's patch, is at                     <http://code.haskell.org/~morrow/quasiquotes/ghc-6.8.3_QQ-0.2.tar.bz2>.                     An example of the use of @regexqq@ is located at-                    <http://code.haskell.org/~morrow/quasiquotes/regexqq.txt>+                    <http://code.haskell.org/~morrow/quasiquotes/regexqq.txt>.+                    Haddock docs are at+                    <http://code.haskell.org/~morrow/quasiquotes/regexqq/docs/>.  library   build-depends:    base, bytestring, template-haskell >= 2.2, pcre-light