Ptr and ForeignPtr Questions

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
23 Sep 2001 22:56:38 GMT


Sun, 23 Sep 2001 15:41:41 -0700, Ashley Yakeley <ashley@semantic.org> pisze:

> But do you have an example of a Haskell type for a foreign import 
> function, for which the corresponding C function type would be ambiguous?

Ptr CChar (as an argument). It could be either char * or const char *.

-- 
 __("<  Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK