foreign import label with polymorphic type

Simon Marlow simonmar at microsoft.com
Thu Jan 23 11:14:14 EST 2003


> GHC (5.04 and CVS) rejects the following, saying "Unacceptable type":
> 
> foreign import ccall unsafe "stdlib.h &free" pFree :: FunPtr 
> (Ptr a -> IO ())

Fixed, thanks.

Simon



More information about the Glasgow-haskell-bugs mailing list