From 4be17172975a00f3324721fc779172f95dc8442d Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 1 Oct 2010 18:57:09 +0200 Subject: Document withTagMap function --- src/Text/Hakyll/Tags.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text/Hakyll') diff --git a/src/Text/Hakyll/Tags.hs b/src/Text/Hakyll/Tags.hs index 5f6f5d5..a4559ca 100644 --- a/src/Text/Hakyll/Tags.hs +++ b/src/Text/Hakyll/Tags.hs @@ -118,6 +118,8 @@ readCategoryMap :: String -- ^ Unique identifier for the map. -> HakyllAction () TagMap readCategoryMap = readMap $ maybeToList . M.lookup "category" . unContext +-- | Perform a @Hakyll@ action on every item in the tag +-- withTagMap :: HakyllAction () TagMap -> (String -> [HakyllAction () Context] -> Hakyll ()) -> Hakyll () -- cgit v1.2.3