Ptr and ForeignPtr Questions
Sun, 23 Sep 2001 02:04:49 -0700
At 2001-09-23 00:45, Manuel M. T. Chakravarty wrote:
>No, unfortunately not. Consider, for example, that storage
>qualifiers would have to be generated correctly and there is
>no way to determine form a Haskell type whether a `const'
>modifier needs to be added.
I would assume that Ptr types would always be mapped to non-const
pointers. Do you have an example of a Haskell type for a foreign import
function, for which the corresponding C function type would be ambiguous?
Ashley Yakeley, Seattle WA