foreign import label with polymorphic type

Ross Paterson ross at soi.city.ac.uk
Thu Jan 23 06:37:11 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 ())



More information about the Glasgow-haskell-bugs mailing list