"Brian Hulley" <[EMAIL PROTECTED]> writes:
> I've got a Haskell module with the following ffi import:
>
> foreign import ccall duma_init :: Int -> IO Int
>
> However my problem is that I've got no idea what the type signature
> for the corresponding C function should be,
HsInt duma_init(HsInt arg
[I am resending this message with a new subject because nobody seems to
be reading the old thread.]
I wanted to test the fix for ticket #711 but I am stuck because there is
no current snapshot of ghc 6.5 for mingw. (The last one is dated end of
February, the patch was commited on March, 2nd.)
Lennart Augustsson wrote:
I'm not implying anything, except that I've plugged the space
leak of 256M every time a DLL is loaded&unloaded.
-- Lennart
Michael Marte wrote:
Lennart,
do you imply that you have fixed the problem causing the crashes?
May I safely assume that DLLs produced by
Hello Brian,
Wednesday, March 8, 2006, 12:03:27 AM, you wrote:
BH> mycallback :: GUIMonad m => EventInfo -> m EventResult
BH> 'm' will have to combine a state monad with the IO monad (so I can use IORef
BH> etc if needed).
as Ian Lynagh wrote, it's no problem if your monad is IO-based. if FFI
b