Hets - the Heterogeneous Tool Set

Copyright(c) Jonathan von Schroeder DFKI GmbH 2010
LicenseGPLv2 or higher, see LICENSE.txt
Maintainerjonathan.von_schroeder@dfki.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone

Common.SAX

Description

 

Documentation

foldCatchLeft :: Monad m => (a -> MaybeT m a) -> a -> MaybeT m a Source #

whileM :: Monad m => MaybeT m a -> MaybeT m [a] Source #

type SaxEvL = [SAXEvent String String] Source #

type DbgData = (Maybe [String], Bool) Source #

debugS' :: String -> State (SaxEvL, DbgData) (Maybe a) Source #

debugS :: String -> MSaxState a Source #

runMSaxState :: MSaxState a -> SaxEvL -> Bool -> (Maybe a, (SaxEvL, DbgData)) Source #

parsexml :: ByteString -> SaxEvL Source #

tag :: MSaxState (Bool, String) Source #

expectTag :: Bool -> String -> MSaxState String Source #

readWithTag :: MSaxState a -> String -> MSaxState a Source #

readL :: Show a => MSaxState a -> String -> MSaxState [a] Source #

foldS :: Show a => (a -> MSaxState a) -> a -> String -> MSaxState a Source #