Dear Foreign Function Interface,
why does a program like the following fail with a "<>" exception
(using GHC 6.2 on MacOS X)?
-snip-
import Foreign
main =
do
f <- mkFinPtr finalizer
fp <- newForeignPtr f nullPtr
putStrLn "Hello World"
finalizer p
On 04 July 2004 23:54, Sven Moritz Hallberg wrote:
> Dear Foreign Function Interface,
>
> why does a program like the following fail with a "<>" exception
> (using GHC 6.2 on MacOS X)?
>
> -snip-
> import Foreign
>
> main =
> do
> f <- mkFinPtr finalizer
> fp