tagging-0.1: Library for tagging data

Data.Tag

Documentation

type Tag = StrSource

type Tagged a = [(a, [Tag])]Source

type Rules = [(Regex, [Tag])]Source

mkTaggedWrt :: [PCREExecOption] -> Rules -> [a] -> (a -> Str) -> Tagged aSource

hasTag :: Tag -> (a, [Tag]) -> BoolSource