Bio.MMTF.Decode.MessagePack
transformObjectMap :: MonadFail m => Object -> m (Map Text Object) Source #
atP :: MonadFail m => Map Text Object -> Text -> (Text -> Object -> m a) -> m a Source #
atPM :: Monad m => Map Text Object -> Text -> (Text -> Object -> m a) -> m (Maybe a) Source #
atPMD :: MonadFail m => Map Text Object -> Text -> (Text -> Object -> m a) -> a -> m a Source #
asStr :: MonadFail m => Text -> Object -> m Text Source #
asChar :: MonadFail m => Text -> Object -> m Char Source #
asInt :: (MonadFail m, Integral a) => Text -> Object -> m a Source #
asFloat :: MonadFail m => Text -> Object -> m Float Source #
asIntList :: (MonadFail m, Integral a) => Text -> Object -> m [a] Source #
asStrList :: MonadFail m => Text -> Object -> m [Text] Source #
asFloatList :: MonadFail m => Text -> Object -> m [Float] Source #
asObjectList :: MonadFail m => Text -> Object -> m [Object] Source #
asBinary :: MonadFail m => Text -> Object -> m ByteString Source #