logo       

foreign import label with polymorphic type: msg#00048

lang.haskell.glasgow.bugs

Subject: foreign import label with polymorphic type

GHC (5.04 and CVS) rejects the following, saying "Unacceptable type":

foreign import ccall unsafe "stdlib.h &free" pFree :: FunPtr (Ptr a -> IO ())


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise