Re: ghc 5.02.2 FFI question

2002-04-09 Thread Bernard James POPE
Hi Simon, (posted to [EMAIL PROTECTED] in case anyone else is reading this). I just tried your example and it seems to run in constant space here with 5.02.2. The code looks fine - this isn't something we really envisaged people doing with the RTS API, but there's no real problem with it

RE: ghc 5.02.2 FFI question

2002-04-08 Thread Simon Marlow
Hi Bernie, I've been playing with the FFI in GHC 5.02.2 I'm not sure if I'm using it correctly because I get a space leak in my program. I just tried your example and it seems to run in constant space here with 5.02.2. The code looks fine - this isn't something we really envisaged people