Re[2]: error in your article? about meaning of safe/unsafe in foreign import

2005-05-20 Thread Bulat Ziganshin
Hello Peter, Friday, May 20, 2005, 1:30:08 PM, you wrote: PS just for the record, it's not my article. Although I have the PS privilege of sharing a somewhat similar name with the geniuses PS around here, I didn't have any part in that text. ;-) i answered your letter but wrote to Simon PJ PS

Re: Re[2]: error in your article? about meaning of safe/unsafe in foreign import

2005-05-20 Thread Peter Simons
Bulat Ziganshin writes: PS Since pure FFI calls don't have any side-effects, they are PS always safe to be called unsafely. sorry, but even pure C function can call back to Haskell world and lead to GC. Um, right. I said I didn't understand these things completely either. Guess I was