Big thanks, that works for me as well. Doesn't GHC check whether a type is allowed (like CInt,...) or not (like Bool,...)?
2011/5/2 Gábor Lehel <illiss...@gmail.com>: > It works if I replace the 'bool' return type of 'finished' with int > and CInt on the C++ and Haskell side, respectively, and test for (/= > 0). _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe