From 157fef58b97527b05b0400ad98d9cbdd2a33a0f4 Mon Sep 17 00:00:00 2001 From: Bergi Date: Wed, 7 Mar 2018 17:17:00 +0100 Subject: Optimise CSS compression --- lib/Hakyll/Core/Util/String.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Hakyll/Core/Util') diff --git a/lib/Hakyll/Core/Util/String.hs b/lib/Hakyll/Core/Util/String.hs index 23bdd39..f848369 100644 --- a/lib/Hakyll/Core/Util/String.hs +++ b/lib/Hakyll/Core/Util/String.hs @@ -27,7 +27,7 @@ trim = reverse . trim' . reverse . trim' -------------------------------------------------------------------------------- -- | A simple (but inefficient) regex replace funcion replaceAll :: String -- ^ Pattern - -> (String -> String) -- ^ Replacement (called on capture) + -> (String -> String) -- ^ Replacement (called on match) -> String -- ^ Source string -> String -- ^ Result replaceAll pattern f source = replaceAll' source -- cgit v1.2.3