error in your article? about meaning of safe/unsafe in "foreign import"

Peter Simons simons at
Fri May 20 08:23:19 EDT 2005

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 right. ;-)

More information about the Glasgow-haskell-users mailing list