Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Segment | |
|
Instances
Generic (Segment a) Source # | |
type Rep (Segment a) Source # | |
Defined in Arbor.File.Format.Asif.Type type Rep (Segment a) = D1 (MetaData "Segment" "Arbor.File.Format.Asif.Type" "asif-3.0.0-4uxSH8uZG7i4h8E03AOMOg" False) (C1 (MetaCons "Segment" PrefixI True) (S1 (MetaSel (Just "meta") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SegmentMeta) :*: S1 (MetaSel (Just "payload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a))) |
extractSegments :: Parser ByteString -> ByteString -> Either String [Segment ByteString] Source #
extractNamedSegments :: Parser ByteString -> ByteString -> Either String (Map Text (Segment ByteString)) Source #
segmentNamed :: String -> Map Text (Segment ByteString) -> Either String ByteString Source #