diff options
author | Richard Cook <rcook@rcook.org> | 2016-03-14 19:12:19 -0700 |
---|---|---|
committer | Richard Cook <rcook@rcook.org> | 2016-03-14 19:12:19 -0700 |
commit | 270c99b9d23bf32ed7ba1e74f154c7fbd50954ab (patch) | |
tree | 1994a09b1eaf6c3381acdd0d3e55e47e749c4b5a /src | |
parent | 12b11b966fd55cc2dbd833bfb2bf1f151c7d6789 (diff) | |
download | hakyll-270c99b9d23bf32ed7ba1e74f154c7fbd50954ab.tar.gz |
Fixes #408: Documentation for "unixFilter" now compiles
Diffstat (limited to 'src')
-rw-r--r-- | src/Hakyll/Core/UnixFilter.hs | 2 |
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 |