Foreign type

Simon Marlow simonmar at
Wed May 18 17:58:50 EDT 2005

On 18 May 2005 19:37, Peter Eriksen wrote:

> Monique Louise <monique.louise at> 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 "foreign import ..." maybe?

'foreign type' is part of a now-defunct experiment to have GHC generate
code for .NET.  There is no working implementation of it.


More information about the FFI mailing list