From: Matthew M. <mat...@gm...> - 2005-10-06 01:31:17
|
> What should be the Haskell type of this? > > NSString a -> CUInt -> (Bool, NSError ()) ? Either that or NSString a -> CUInt -> MagicOutPtr (NSError ()) -> Bool where MagicOutPtr is some magically marshalled type -- I'm waving my hands here 'cause I don't know much about the FFI. PyObjC uses the former method; F-Script uses the latter. The easier-to-implement way (whichever that is) is probably best. - Matt |