
23 Sep
2001
23 Sep
'01
5:04 a.m.
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