xml in fptools?
S. Alexander Jacobson
alex at alexjacobson.com
Tue May 23 16:38:41 EDT 2006
Can we talk about Haskell use cases? It seems like we want different
APIs for parsing, transforming, and producing XML.
Most of the time, I am less interested in XML as a datastructure per
se than I am in converting from XML to a Haskell data type or
producing XML from a Haskell data type.
Has anyone here played with HWSProxyGen or Haifa?
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
On Tue, 23 May 2006, Ashley Yakeley wrote:
> 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
> Libraries mailing list
> Libraries at haskell.org
More information about the Libraries