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,
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
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]
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
___
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
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
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