[Haskell-cafe] Interfacing C++ iterators does not work as expected

Huynh Huu Long long.upcase at googlemail.com
Mon May 2 23:31:19 CEST 2011


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 <illissius at 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).



More information about the Haskell-Cafe mailing list