Manuel M T Chakravarty [EMAIL PROTECTED] writes:
-=- Changes since RC 9
* 6.2: All the types in CTypes must be newtypes that are exported
abstractly.
This change makes things highly inconvenient in nhc98. A newtype
can only be passed across the FFI in nhc98 if we
Judging by the silence that greeted my last posts re this a
couple of weeks
ago I suspect this is of no interest to anyone but me :-(
An extra couple of weeks cogitation on this hasn't really
changed MHO much
(other than I'm no longer so pessimistic about the safety of
my +
So excuse me if this seems half baked, but am I the only one who
thinks the type signatures of utilities like this..
allocaBytes :: Int - (Ptr a - IO b) - IO b
..are rather inconvenient?
Wouldn't..
allocaBytes :: Int - (Ptr a - b) - b
..be more useful?
Why? What could the pure function you're