Document withTagMap function
commit4be17172975a00f3324721fc779172f95dc8442d
authorJasper Van der Jeugt <jaspervdj@gmail.com>
dateFri 1 Oct 2010, 18:57 (16 years ago)
parent3f331d1
src/Text/Hakyll/Tags.hs+2
@@ -118,6 +118,8 @@ readCategoryMap :: String -- ^ Unique identifier for the map.
118118 -> HakyllAction () TagMap
119119readCategoryMap = readMap $ maybeToList . M.lookup "category" . unContext
120120
121+-- | Perform a @Hakyll@ action on every item in the tag
122+--
121123withTagMap :: HakyllAction () TagMap
122124 -> (String -> [HakyllAction () Context] -> Hakyll ())
123125 -> Hakyll ()