packages feed

string-combinators 0.5 → 0.6

raw patch · 2 files changed

+11/−11 lines, 2 filesdep ~base

Dependency ranges changed: base

Files

Data/String/Combinators.hs view
@@ -24,8 +24,8 @@      -- * Wrapping in delimiters     , between -    , paren-    , thenParen+    , parens+    , thenParens     , brackets     , braces     , angleBrackets@@ -159,8 +159,8 @@   -- | Wrap a string-like in @(...)@.-paren ∷ (Monoid s, IsString s) ⇒ s → s-paren = between "(" ")"+parens ∷ (Monoid s, IsString s) ⇒ s → s+parens = between "(" ")"  -- | Wrap a string-like in @[...]@. brackets ∷ (Monoid s, IsString s) ⇒ s → s@@ -187,11 +187,11 @@  This function is supposed to be used infix as in: -@(precedence >= 10) \`thenParen\` (\"fun\" \<+\> \"arg\")@+@(precedence >= 10) \`thenParens\` (\"fun\" \<+\> \"arg\")@ -}-thenParen ∷ (Monoid s, IsString s) ⇒ Bool → s → s-thenParen True  = paren-thenParen False = id+thenParens ∷ (Monoid s, IsString s) ⇒ Bool → s → s+thenParens True  = parens+thenParens False = id   --------------------------------------------------------------------------------
string-combinators.cabal view
@@ -1,6 +1,6 @@ Name:          string-combinators-Version:       0.5-Synopsis:      Polymorphic functions to build and combine string-like values+Version:       0.6+Synopsis:      Polymorphic functions to build and combine stringlike values Description:   @string-combinators@ provides handy polymorphic functions                to build and combine string-like values.                .@@ -21,7 +21,7 @@   Location: http://code.haskell.org/~basvandijk/code/string-combinators/  Library-  Build-Depends: base                 >= 4     && < 4.3+  Build-Depends: base                 >= 4     && < 4.4                , base-unicode-symbols >= 0.1.1 && < 0.3   Exposed-modules: Data.String.Combinators   Ghc-options: -Wall