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.
> 
> What is a foreign type?
> 
> --
> Friendly,
>  Lemmih
> 


-- 
________________________________
Monique Louise B.Monteiro
Msc Student in Computer Science
Center of Informatics
Federal University of Pernambuco
_______________________________________________
FFI mailing list
FFI@haskell.org
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to