URI handling code in Haskell available
I've released a first version of some URI parsing and handling code at: http://www.ninebynine.org./Software/HaskellURI.zip With a (very) few words of write-up at: http://www.ninebynine.org./Software/ReadMe-URI-Haskell.txt The URI parser code is based very closely on the syntax specification given in Roy Fielding's current revision of the URI specification [1]. The unit tests are based substantially on Dan Connolly's Python code [2]. The code is a bit scrappy, as I'm new to Haskell, but it does pass a fairly comprehensive array of unit tests (also included with the software). Error handling is in the range of weak-to-non-existent. #g -- [1] http://www.apache.org/~fielding/uri/rev-2002/rfc2396bis.html [2] http://www.w3.org/2000/10/swap/uripath.py ------------------- Graham Klyne <GK@NineByNine.org> PGP: 0FAA 69FF C083 000B A2E9 A131 01B9 1C7A DBCA CB5E
On Wed, 5 Mar 2003, Graham Klyne wrote:
I've released a first version of some URI parsing and handling code at: http://www.ninebynine.org./Software/HaskellURI.zip
but this library is already in ghc: http://www.haskell.org/ghc/docs/latest/html/network/Network.URI.html best regards -- -- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ -- -- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/207 --
participants (2)
-
Graham Klyne -
Johannes Waldmann