Re: Library archives

2002-09-03 Thread Manuel M T Chakravarty
Simon Peyton-Jones [EMAIL PROTECTED] wrote, | .NET is a different beast from other calling conventions in | that you may want to compile Haskell ccalls to .NET | intermediate language. In other words, it is about being | able to implement ccall *on* .NET. Thus, the mix. I think that

RE: Library archives

2002-08-12 Thread Simon Marlow
(no, I'm not sure why they're in the C section of the FFI spec either). Because they are for implementing calls to C code in Haskell that is compiled to .NET ILX. This doesn't mean that I want to necessarily defend them, but this was the reason for their inclusion. Essentially,

Re: Library archives

2002-08-12 Thread Alastair Reid
Under .NET each DLL has its own namespace, so the [lib] spec is needed to disambiguate. Since it's a namespace issue, I'd feel better if on .NET the name of the C function took a different form (perhaps lib.function) and [lib] is removed from the spec. Isn't that just a different syntax

Re: Library archives

2002-08-12 Thread Manuel M T Chakravarty
Alastair Reid [EMAIL PROTECTED] wrote, Under .NET each DLL has its own namespace, so the [lib] spec is needed to disambiguate. Since it's a namespace issue, I'd feel better if on .NET the name of the C function took a different form (perhaps lib.function) and [lib] is removed from the

Re: Library archives

2002-08-11 Thread Manuel M T Chakravarty
Simon Marlow [EMAIL PROTECTED] wrote, I see a lot of discussion about header files. I see a small amount of discussion of libraries with many conflicting suggestions. I see no _conclusion_. Ok, I can't see the conclusion either, but I seem to recall that at one stage the library