summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2016-03-15 11:09:10 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2016-03-15 11:09:10 +0100
commit843d726ad22d27b980d117afe7235abb0196b06c (patch)
tree43adda6725d59b0e086711f77b6de18db95863e0
parentb9a32883b742e3722d380f59ed2ec9a298f4a58b (diff)
parent270c99b9d23bf32ed7ba1e74f154c7fbd50954ab (diff)
downloadhakyll-843d726ad22d27b980d117afe7235abb0196b06c.tar.gz
Merge pull request #409 from rcook/p-rcook-rev-comment
Fixes #408: Documentation for "unixFilter" now compiles
-rw-r--r--src/Hakyll/Core/UnixFilter.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Core/UnixFilter.hs b/src/Hakyll/Core/UnixFilter.hs
index edc8eac..0f88c77 100644
--- a/src/Hakyll/Core/UnixFilter.hs
+++ b/src/Hakyll/Core/UnixFilter.hs
@@ -30,7 +30,7 @@ import Hakyll.Core.Compiler
-- | Use a unix filter as compiler. For example, we could use the 'rev' program
-- as a compiler.
--
--- > rev :: Compiler String
+-- > rev :: Compiler (Item String)
-- > rev = getResourceString >>= withItemBody (unixFilter "rev" [])
--
-- A more realistic example: one can use this to call, for example, the sass