Calling haskell DLL from MSVC++

2002-12-01 Thread Mauricio Carvalho
Hey! I' having problems tocall functions froma DLL made with ghc with a C++ program, using Microsofts Visual C++ To learn how to do it, I tried the example found at the user's guide (11.3, 11.4), butthings aren't working out.. Here is as far as I've done: I have a haskell module,

Re: Request: suppress specific warnings at specific places

2002-12-01 Thread Mike Gunter
I wrote: GHC's excellent warnings are very helpful. They would be somewhat more so if it were possible to suppress a warning about a specific bit of code Then Simon Marlow [EMAIL PROTECTED] wrote: (of course, the workaround is to put the offending code into a module of its own, and

Network Programming with Haskell ?

2002-12-01 Thread Ahn Ki-yung
No select or poll functions in Network module yet ? listenOn and accept isn't enough for network programming. IO multiplexing is needed. It was a wish list. -- Ahn Ki-yung ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED]

Re: Network Programming with Haskell ?

2002-12-01 Thread William Lee Irwin III
On Mon, Dec 02, 2002 at 11:07:24AM +0900, Ahn Ki-yung wrote: No select or poll functions in Network module yet ? listenOn and accept isn't enough for network programming. IO multiplexing is needed. It was a wish list. c.f. util/Select.lhs Bill ___

Re: Network Programming with Haskell ?

2002-12-01 Thread John Meacham
that is what Concurrent is for, Haskell threads, (well GHC threads) are lightweight and can be used for selectlike purposes without too much overhead. I use them quite effectivly for complex networked applications.. see http://haskell.org/ghc/docs/latest/html/base/Control.Concurrent.html On

help for Killed

2002-12-01 Thread Dean Herington
I have a program that dies, saying simply Killed. How can I tell what that means? I presume the program is suffering a ThreadKilled exception, and I guess it may be due to stack or heap overflow. (The program is processing a 50MB file.) Profiling, even with -xc, yields no information. Dean

Re: Native Threads in the RTS

2002-12-01 Thread Dean Herington
On 29 Nov 2002, Alastair Reid wrote: Consider Haskell functions a,b,c,d and C functions A,B,C,D and a call pattern a - A - b - B - c - C - d - D That is, a calls A, calls b, calls B, calls ... Suppose we want A,B,C,D executed by the same foreign thread. Each of a,b,c,d are