Re: Foreign type

Monique Louise <[email protected]> Wed, 18 May 2005 13:49:28 -0300
Newsgroups gmane.comp.lang.haskell.ffi
Message-ID <[email protected]>
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 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.
>=20
> What is a foreign type?
>=20
> --
> Friendly,
>  Lemmih
>=20


--=20
________________________________
Monique Louise B.Monteiro
Msc Student in Computer Science
Center of Informatics
Federal University of Pernambuco