
23 May
2006
23 May
'06
2:54 p.m.
Malcolm Wallace wrote:
The motivation here is to have a standard API for e.g. parsing an XML file. I'm sure it would be easy to agree on some signatures like
readXml :: String -> Maybe XML showXml :: XML -> String
fReadXml :: FilePath -> IO XML fWriteXml :: FilePath -> XML -> IO ()
hGetXml :: Handle -> IO XML hPutXml :: Handle -> XML -> IO ()
Would we also want some sort of stream API, similar to SAX? streamXML :: (Monad m) => m Char -> m SAXEvent -- Ashley Yakeley, Seattle WA