Network library patches

Johan Tibell johan.tibell at
Thu Mar 4 04:23:40 EST 2010

Hi Neil,

Sorry about not getting back to you earlier, things have been quite hectic
around here.

On Wed, Mar 3, 2010 at 10:26 PM, Neil Mitchell <ndmitchell at> wrote:

> Hi,
> I like Windows. I like networks. I love GHC 6.12.1. Having all three
> in combination would be fantastic :-)
> Given the Haskell platform will certainly include network (as an
> ex-GHC package), does anyone from the haskell-platform team want to
> pick up the Windows pieces and put together a working network?

I think we need a co-maintainer for network that actually uses Windows daily
and has the time and experience to have the library keep up with changes
affecting that platform (i.e. new versions of GHC and/or Windows). I have a
local Windows XP install in a virtual machine that I use for testing before
making releases but using it is quite painful.

> I've got a locally patched version of network, which I'm using with
> great success - but that's not much benefit to the rest of the
> community.

In your original email you mentioned that you changed all the occurrences of
CALLCONV to stdcall. While this makes everything compile for you it is the
wrong thing for other platforms which don't use stdcall. The CALLCONV define
is supposed to expand to the right thing for each platform and it has worked
in the past and it worked the last time I tried it on Windows XP/GHC 6.12.
We need to figure out why it doesn't work for you.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Libraries mailing list