W3C home > Mailing lists > Public > uri@w3.org > February 2004

Haskell URI handling; source code available

From: Graham Klyne <gk@ninebynine.org>
Date: Fri, 20 Feb 2004 12:47:33 +0000
Message-Id: <5.1.0.14.2.20040220122719.02510dd0@127.0.0.1>
To: <uri@w3.org>

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/#Contact
Received 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