RE: Foreign type

2005-05-18 Thread Simon Marlow
On 18 May 2005 19:37, Peter Eriksen wrote: > Monique Louise <[EMAIL PROTECTED]> writes: > >> Hi all, >> >> does anyone know what package should be imported to make GHC accept >> a declaration like "foreign type dotnet "BigInteger" BigInteger" ? >> I've searched at Google, GHC and FFI documenta

Re: Foreign type

2005-05-18 Thread Peter Eriksen
Monique Louise <[EMAIL PROTECTED]> writes: > Hi all, > > does anyone know what package should be imported to make GHC accept > a declaration like "foreign type dotnet "BigInteger" BigInteger" ? > I've searched at Google, GHC and FFI documentation but I haven't found > anything. Do you mean "fo

Re: Foreign type

2005-05-18 Thread Monique Louise
I saw it for the first time in the code " foreign type dotnet "BigInteger" BigInteger " in module Num.lhs from GHC prelude. I think it defines a type to be "foreign": a way to say the type is not defined in Haskell, but in the foreign language. On 5/18/05, Lemmih <[EMAIL PROTECTED]> wrote: > On

Re: Foreign type

2005-05-18 Thread Lemmih
On 5/18/05, Monique Louise <[EMAIL PROTECTED]> wrote: > Hi all, > > does anyone know what package should be imported to make GHC accept > a declaration like "foreign type dotnet "BigInteger" BigInteger" ? > I've searched at Google, GHC and FFI documentation but I haven't found > anything. What

Foreign type

2005-05-18 Thread Monique Louise
Hi all, does anyone know what package should be imported to make GHC accept a declaration like "foreign type dotnet "BigInteger" BigInteger" ? I've searched at Google, GHC and FFI documentation but I haven't found anything. Thanks in advance, -- Monique Louise