Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Warning = DuplicateKey JSONPath
- decodeHelper :: MonadIO m => (Marked Value -> Either String a) -> FilePath -> ConduitT () MarkedEvent Parse () -> m (Either ParseException (a, [Warning]))
- decodeAllHelper :: MonadIO m => (Marked Value -> Either String a) -> FilePath -> ConduitT () MarkedEvent Parse () -> m (Either ParseException ([a], [Warning]))
- debugEventStream_ :: ByteString -> IO ()
- debugEventStream :: ByteString -> IO [MarkedEvent]
Documentation
:: MonadIO m | |
=> (Marked Value -> Either String a) | |
-> FilePath | Name for file being parsed |
-> ConduitT () MarkedEvent Parse () | Text.Libyaml source |
-> m (Either ParseException (a, [Warning])) |
:: MonadIO m | |
=> (Marked Value -> Either String a) | |
-> FilePath | Name for file being parsed |
-> ConduitT () MarkedEvent Parse () | Text.Libyaml source |
-> m (Either ParseException ([a], [Warning])) |
Debugging helpers
debugEventStream_ :: ByteString -> IO () Source #
debugEventStream :: ByteString -> IO [MarkedEvent] Source #