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 <lemmih@gmail.com> wrote:
On 5/18/05, Monique Louise <monique.louise@gmail.com> 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