
15 Dec
2006
15 Dec
'06
8:39 p.m.
On Fri, Dec 15, 2006 at 04:45:51PM -0600, Taral wrote:
On 12/15/06, John Meacham
wrote: plusPtr :: Ptr a -> IntPtr -> Ptr a minusPtr :: Ptr a -> Ptr b -> IntPtr
This is ptrdiff_t, if I recall correctly...
indeed. C's 'typedef's are like haskell 'type's though and are more for documentation than anything in many cases. For haskell we don't want to go and create distinct haskell types for everything, IntPtr is perfect for this task. :) John -- John Meacham - ⑆repetae.net⑆john⑈