
15 Mar
2008
15 Mar
'08
8:56 a.m.
On Sat, Mar 15, 2008 at 12:32:29AM -0700, Jason Dusek wrote:
Simon Marlow
wrote: GHC...can't guarantee to generate a prototype that is exactly the same as the C prototype given in the header file (e.g. it doesn't know about const)...
Why doesn't GHC know about const?
Because the Ptr type doesn't indicate const-ness (perhaps it should).