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

2004-04-13 Thread Alastair Reid
And Hugs too. The issue isn't extending the FFI but implementing it more accurately and consistently. As you point out, systems compiling via C have been extending the FFI to a function+macro interface, which is incompatible with systems compiling to native code. Having been bitten by the

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

2004-04-13 Thread Simon Marlow
On Thu, Apr 08, 2004 at 10:18:24AM +0100, Alastair Reid wrote: Now that I understand the problem, my feeling is that the problem is not with curses but with GHC's compilation method. GHC is using a shortcut by pretending that the ffi is for interfacing to cpp+C whereas the ffi is