On Tue, Jun 24, 2008 at 12:08 PM, Galchin, Vasili <vigalchin at gmail.com> wrote: > yes I am invoking a callback function written in Haskell. Then you should just need to remove the "unsafe" from the foreign import decl which leads to the callback getting called. AGL -- Adam Langley agl at imperialviolet.org http://www.imperialviolet.org