Replacing Network.CGI with NewCGI

Simon Marlow simonmarhaskell at
Fri Aug 11 11:18:10 EDT 2006

Bjorn Bringert wrote:
> Any users of Network.CGI here?
> I would like to propose replacing the current Network.CGI module with  
> what is now known as Network.NewCGI [2]. This has been mentioned  
> briefly before [1]. The new module is backwards compatible with the  old 
> one (except for the export of Text.Html.Html, which is now  
> Text.XHtml.Html).
> Here is what I would like to do:
> - Remove Network.CGI from the network package.
> - Change the name of Network.NewCGI to Network.CGI
> - Add the cgi package to
> - Add the xhtml package [3] to  This 
> is needed since the cgi package uses it to generate error pages.
> Any comments, suggestions, or objections?

Bjorn - any progress on this?  If you do it in the next week, we could get it 
into GHC 6.6.  If not, I still intend to separate out CGI from the network 
package so that it can be more easily replaced by your version.


More information about the Libraries mailing list