summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Cook <rcook@rcook.org>2016-03-14 19:12:19 -0700
committerRichard Cook <rcook@rcook.org>2016-03-14 19:12:19 -0700
commit270c99b9d23bf32ed7ba1e74f154c7fbd50954ab (patch)
tree1994a09b1eaf6c3381acdd0d3e55e47e749c4b5a
parent12b11b966fd55cc2dbd833bfb2bf1f151c7d6789 (diff)
downloadhakyll-270c99b9d23bf32ed7ba1e74f154c7fbd50954ab.tar.gz
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