xml in fptools?
ashley at semantic.org
Tue May 23 14:54:03 EDT 2006
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
More information about the Libraries