Network.URI changes

Graham Klyne GK at ninebynine.org
Wed Oct 27 09:26:29 EDT 2004


Simon,

I've made the changes to URI.hs, and also added deprecation directives for 
the old accessor functions (forgot to note that in the CVS comment).  I've 
also extended the test suite to provide basic tests of show, escaping, etc.

As I don't have fast Internet access (ISDN only) I have only checked out 
the library tree from CVS, so can I please leave you to place the new test 
module in the regression test directory?

#g
--

At 09:42 26/10/04 +0100, Simon Marlow wrote:
>Hi Graham,
>
>All the changes you suggest look fine.
>
>On 25 October 2004 15:32, Graham Klyne wrote:
>
> > There isn't one that I'm aware of.
> >
> > As it happens, I was reviewing a haddock-ized version of the URI
> > module docs today (thanks to Sven providing a Windows build of
> > Haddock), and that particular interface didn't look as clunky as I
> > feared it might.  Mainly, I wanted to ensure that a developer was
> > going to make a conscious decision to expose a password in a
> > stringified URI.  So I suggest leaving it unless there's any
> > objection.
> >
> > Who's on the hook to make these changes?
>
>You are ;-)
>
> > I'm happy to do them, but I
> > note that others are also improving this module now.  I'd like to
> > ensure the test module is updated in sync with this.
>
>The live test module is in
>testsuite/tests/ghc-regress/lib/network/uri001.hs.  This is just a copy
>of the one in libraries/network/tests.  You can just update the latter,
>and I'll copy it over to the former if you like, or you could update
>both.
>
>Cheers,
>         Simon
>_______________________________________________
>Cvs-libraries mailing list
>Cvs-libraries at haskell.org
>http://www.haskell.org/mailman/listinfo/cvs-libraries

------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Cvs-libraries mailing list