From 193dc6d3d8d7bca76efd30270bd34ca81a676bf2 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Wed, 31 Mar 2010 13:51:28 +0200 Subject: Updated tutorial about categoryblog. --- src/Text/Hakyll/HakyllAction.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Text') diff --git a/src/Text/Hakyll/HakyllAction.hs b/src/Text/Hakyll/HakyllAction.hs index e12b50b..1310e28 100644 --- a/src/Text/Hakyll/HakyllAction.hs +++ b/src/Text/Hakyll/HakyllAction.hs @@ -70,8 +70,8 @@ runHakyllActionIfNeeded action = do -- | Chain a number of @HakyllAction@ computations. chain :: [HakyllAction a a] -- ^ Actions to chain. -> HakyllAction a a -- ^ Resulting action. -chain [] = id -chain list@(_:_) = foldl1 (>>>) list +chain [] = id +chain list = foldl1 (>>>) list instance Category HakyllAction where id = HakyllAction -- cgit v1.2.3