"Jason Dagit" <[EMAIL PROTECTED]> writes: > That is, if you use the optional specification of a header file for each > foreign import, and if your Haskell compiler can compile via C, then any > checking that types match between Haskell and C can be performed > automatically, by the backend C compiler.
> Would this method work with return types since C compilers tend to let you > ignore those? In this example that brought up this discussion it was in fact > an ignored return value that caused the problem. I've tried to look at GCC's warning options, but couldn't make it emit a warning on an ignored result. (Doesn't mean it isn't in there, of course) -k -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe