packages feed

tagset-positional 0.2.0 → 0.3.0

raw patch · 2 files changed

+5/−1 lines, 2 files

Files

Data/Tagset/Positional.hs view
@@ -79,6 +79,10 @@     , atts  :: M.Map Attr AttrVal     } deriving (Show, Read, Eq, Ord) +instance Binary Tag where+    put Tag{..} = put pos >> put atts+    get = Tag <$> get <*> get+ -- | Expand optional attributes of the tag. expand :: Tagset -> Tag -> [Tag] expand tagset tag = do
tagset-positional.cabal view
@@ -1,5 +1,5 @@ name:               tagset-positional-version:            0.2.0+version:            0.3.0 synopsis:           Positional tags and tagsets description:     The library provides printing and parsing functions for positional