Re: URI handling code in Haskell available
At 08:25 06/03/2003 +0100, Johannes Waldmann wrote: 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 Oops. I didn't find that. Thanks for the pointer. (Thinks: does it work with HUGS?) A significant amount of my work went into the test cases and matching the parsing code against the (revised work-in-progress) URI spec, so maybe there's some residual value there...? #g --- Graham Klyne [EMAIL PROTECTED] PGP: 0FAA 69FF C083 000B A2E9 A131 01B9 1C7A DBCA CB5E ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
RE: URI handling code in Haskell available
Oops. I didn't find that. Thanks for the pointer. (Thinks: does it work with HUGS?) It works with the latest hugs, November 2002 (use hugs +N to get the hierarchical libraries). A significant amount of my work went into the test cases and matching the parsing code against the (revised work-in-progress) URI spec, so maybe there's some residual value there...? When I wrote Network.URI I took the grammar from the RFC, and also a bunch of test cases, which are in GHC's testsuite (fptools/testsuite/tests/ghc-regress/lib/net/uri001.hs). It might not be up to date with the latest rev of the spec, however. Any extra testing you can do and/or comments you have on the API would be appreciated. One thing I know is questionable is that parseURI returns a Maybe URI, when in fact there are no strings for which it can return Nothing (*everything* is a valid URI, it seems!). Cheers, Simon ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
Re: URI handling code in Haskell available
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/ -- -- [EMAIL PROTECTED] -- phone/fax (+49) 341 9732 204/207 -- ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell