RE: Extension to the FFI to allow macro expansions to be avoided

Marcin 'Qrczak' Kowalczyk <[email protected]> Fri, 16 Apr 2004 20:02:55 +0200
Newsgroups gmane.comp.lang.haskell.ffi
Message-ID <1082138575.8470.76.camel@qrnik>
W liście z pią, 16-04-2004, godz. 15:25 +0100, Simon Marlow napisał:

> I wondered about that (while writing my last post) but it still seems
> like a hefty price to pay for the small number of problematic cases we
> have, and given that you can already write the C stubs by hand to get
> the desired effect.  Hmm, perhaps this falls in to the category of
> something we expect an external tool to do?

I think the preferred way to interface to a C library is via a
typechecked C source, not via binary linking.

But if it's made harder, programmers are tempted to avoid that.

-- 
   __("<         Marcin Kowalczyk
   \__/       [email protected]
    ^^     http://qrnik.knm.org.pl/~qrczak/