My work-in-progress Haskell source code for URI handling is online at: http://www.ninebynine.org/Software/HaskellUtils/Network/ There are two files: URI.hs contains the URI parser and handling functions URItest.hs contains the test program The code uses standard Haskell libraries, plus HUnit [1] and Parsec [2], which need to be accessible on the Haskell system default library path. The unit test program has been run successfully using Hugs [3] and GHCi [4] under Windows. (Some details of the actual functions performed are awaiting the outcome of current discussions on this list.) #g -- [1] HUnit: http://hunit.sourceforge.net/ (used for testing only) [2] Parsec: http://www.cs.uu.nl/~daan/parsec.html (also available as Text.ParserCombinators.Parsec in some Haskell language system installations). E.g. see the GHC "hioerarchical library documentation, specifically: http://www.haskell.org/ghc/docs/latest/html/libraries/parsec/Text.ParserCombinators.Parsec.html Linked from: http://www.haskell.org/ghc/docs/latest/html/libraries/index.html [3] http://www.haskell.org/hugs/ [4] http://www.haskell.org/ghc/ ------------ Graham Klyne For email: http://www.ninebynine.org/#ContactReceived on Friday, 20 February 2004 07:47:44 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:32 GMT