The longer I think about this whole thing, the more I am convinced that using URIs is the answer.
FWIW, the revised URI parsing code [2][3] in the latest libraries includes support for IPv6 literals, as specified by RFC 3986 [1].
#g --
[1] ftp://ftp.rfc-editor.org/in-notes/rfc3986.txt
[2] http://www.haskell.org/ghc/docs/latest/html/libraries/network/Network.URI.html
[3] http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/libraries/network/Network/URI.hs
------------ Graham Klyne For email: http://www.ninebynine.org/#Contact
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell