Re: graphs
Wojciech Moczydlowski, Jr [EMAIL PROTECTED] (Khaliff TM) wrote: The second question - does anybody know about a GHC/Haskell library with graphs implementation? Depending on what precisely you need, Martin Erwig's ``Functional Graph Library'' might contain something useful for you: http://www.informatik.fernuni-hagen.de/import/pi4/erwig/fgl/ Wolfram
Re: Socket module, graphs
Hannah Schroeter wrote: [...] There should be a call to SocketPrim.setSocketOption sock SocketPrim.ReuseAddr 1 before bindSocket. *wink* to the GHC team :-) OK, understood. :-) I've added this to SocketPrim for AF_INET, but I'm unsure about the AF_UNIX case. Is it necessary? Does it any harm otherwise? It's been a long time since my last #include netinet/in.h... Cheers, Sven -- Sven PanneTel.: +49/89/2178-2235 LMU, Institut fuer Informatik FAX : +49/89/2178-2211 LFE Programmier- und Modellierungssprachen Oettingenstr. 67 mailto:[EMAIL PROTECTED]D-80538 Muenchen http://www.informatik.uni-muenchen.de/~Sven.Panne
Re: Socket module, graphs
Hello! On Tue, Feb 01, 2000 at 12:10:33PM +0100, Sven Panne wrote: Hannah Schroeter wrote: [...] There should be a call to SocketPrim.setSocketOption sock SocketPrim.ReuseAddr 1 before bindSocket. *wink* to the GHC team :-) OK, understood. :-) I've added this to SocketPrim for AF_INET, To SocketPrim? I thought the problem was in Socket.listenOn? but I'm unsure about the AF_UNIX case. Is it necessary? Does it any harm otherwise? It's been a long time since my last #include netinet/in.h... :-) Not for me. I believe it's not needed in the AF_UNIX case, but doesn't harm either. (That's from reading BSD source! I hope that matches portable behaviour.) Cheers, Sven Regards, Hannah.