summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Regex.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-04 00:02:37 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-04 00:02:37 +0100
commit76ebcf97b4e2c993297aa914ce576fc0abd68d06 (patch)
treee82dce223dc1cbbcd544449620270d2ae613133d /src/Text/Hakyll/Regex.hs
parente4f09b0a051092ff12726d491a464c4b9c67ddf5 (diff)
downloadhakyll-76ebcf97b4e2c993297aa914ce576fc0abd68d06.tar.gz
First careful transition from data to arrows. It compiles, but that's about it.
Diffstat (limited to 'src/Text/Hakyll/Regex.hs')
-rw-r--r--src/Text/Hakyll/Regex.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Regex.hs b/src/Text/Hakyll/Regex.hs
index 96db2d2..ba7ee46 100644
--- a/src/Text/Hakyll/Regex.hs
+++ b/src/Text/Hakyll/Regex.hs
@@ -15,7 +15,7 @@ matchRegexAll :: Regex -> String -> Maybe (String, String, String, [String])
matchRegexAll = matchM
-- | Replaces every occurance of the given regexp with the replacement string.
-subRegex :: Regex -- ^ Search pattern
+subRegex :: Regex -- ^ Search pattern
-> String -- ^ Input string
-> String -- ^ Replacement text
-> String -- ^ Output string