From 270c99b9d23bf32ed7ba1e74f154c7fbd50954ab Mon Sep 17 00:00:00 2001 From: Richard Cook Date: Mon, 14 Mar 2016 19:12:19 -0700 Subject: Fixes #408: Documentation for "unixFilter" now compiles --- src/Hakyll/Core/UnixFilter.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3