diff options
Diffstat (limited to 'src/Text/Hakyll/RenderAction.hs')
-rw-r--r-- | src/Text/Hakyll/RenderAction.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Hakyll/RenderAction.hs b/src/Text/Hakyll/RenderAction.hs index a5a6f26..7fa03a5 100644 --- a/src/Text/Hakyll/RenderAction.hs +++ b/src/Text/Hakyll/RenderAction.hs @@ -99,11 +99,11 @@ instance Category RenderAction where } instance Arrow RenderAction where - arr f = id { actionFunction = \x -> return (f x) } + arr f = id { actionFunction = return . f } first x = RenderAction { actionDependencies = actionDependencies x , actionUrl = actionUrl x - , actionFunction = \(y, z) -> do y' <- (actionFunction x) y + , actionFunction = \(y, z) -> do y' <- actionFunction x y return (y', z) } |