Fixes #408: Documentation for "unixFilter" now compiles
commit270c99b9d23bf32ed7ba1e74f154c7fbd50954ab
authorRichard Cook <rcook@rcook.org>
dateMon 14 Mar 2016, 19:12 (11 years ago)
parent12b11b9
src/Hakyll/Core/UnixFilter.hs+1−1
@@ -30,7 +30,7 @@ import Hakyll.Core.Compiler
3030-- | Use a unix filter as compiler. For example, we could use the 'rev' program
3131-- as a compiler.
3232--
33−-- > rev :: Compiler String
33+-- > rev :: Compiler (Item String)
3434-- > rev = getResourceString >>= withItemBody (unixFilter "rev" [])
3535--
3636-- A more realistic example: one can use this to call, for example, the sass