RE: Pragmas for FFI imports

2006-02-22 Thread Simon Marlow
On 21 February 2006 18:14, Einar Karttunen wrote: On 21.02 16:50, Simon Marlow wrote: I lost the argument for include files, but this is why libraries cannot currently be specified inside source files. Back in the FFI discussion, we didn't have Cabal, but now that we do, Cabal is the

RE: Pragmas for FFI imports

2006-02-22 Thread Simon Marlow
On 22 February 2006 01:33, John Meacham wrote: On Tue, Feb 21, 2006 at 04:50:20PM -, Simon Marlow wrote: First of all, my position on this has always been (since we argued about this during the design of the FFI) that include files and libraries should be kept out of the source file and

Re[2]: Pragmas for FFI imports

2006-02-22 Thread bulat . ziganshin
Hello Simon, Wednesday, February 22, 2006, 12:53:09 PM, you wrote: SM simplicity, packages are the unit in several concepts: distribution, SM dependency, versioning, licensing, dynamic linking, include file SM dependencies, external library dependencies, and more. If we start SM confusing the

Re: Pragmas for FFI imports

2006-02-21 Thread Malcolm Wallace
On Fri, Feb 17, 2006 at 01:45:27AM +0200, Einar Karttunen wrote: I would like to propose two pragmas to be included in Haskell' for use with FFI. One for specifying the include file defining the foreign import (INCLUDE in ghc) and an another for defining a library that the foreign import

Re: Pragmas for FFI imports

2006-02-21 Thread Duncan Coutts
On Mon, 2006-02-20 at 19:59 -0800, John Meacham wrote: On Fri, Feb 17, 2006 at 01:45:27AM +0200, Einar Karttunen wrote: I would like to propose two pragmas to be included in Haskell' for use with FFI. One for specifying the include file defining the foreign import (INCLUDE in ghc) and an

Re: Pragmas for FFI imports

2006-02-20 Thread John Meacham
On Fri, Feb 17, 2006 at 01:45:27AM +0200, Einar Karttunen wrote: I would like to propose two pragmas to be included in Haskell' for use with FFI. One for specifying the include file defining the foreign import (INCLUDE in ghc) and an another for defining a library that the foreign import

Pragmas for FFI imports

2006-02-16 Thread Einar Karttunen
Hello I would like to propose two pragmas to be included in Haskell' for use with FFI. One for specifying the include file defining the foreign import (INCLUDE in ghc) and an another for defining a library that the foreign import depends on, called FFI_LIB (not implemented at the moment). These