Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Utilities for internal use
Synopsis
- ensureType :: Name -> Dict -> IO ()
- dictionaryType :: Dict -> Either String Name
- decodeTextString :: ByteString -> Either String Text
- decodeTextStringThrow :: ByteString -> IO Text
Documentation
ensureType :: Name -> Dict -> IO () Source #
Check that the dictionary has the specified "Type" filed
decodeTextStringThrow :: ByteString -> IO Text Source #