--- Wolfgang Thaller <wolfgang.thaller at gmx.net> wrote: > foreign import ccall "wrapper" mkCallback :: IO () > -> FunPtr (IO ()) Answering my own question, this should be: foreign import ccall "wrapper" mkCallback :: IO () -> IO( FunPtr (IO ()) ) David J. Sankel