Hello Jacques,

Wednesday, May 31, 2006, 5:33:39 PM, you wrote:

>> decodePtrBitAlignedLE :: (Binary a, Integral size) =>  Ptr x -> size -> IO a
>>
> Am I the only one who finds this encoding-of-types in the _name_ of a 
> function quite distateful?  There is no type safety being enforced here,

can you please write code you suggested? i'm not sure that type "a"
should be encoded only to area pointed by "Ptr a" - binary encoding of
value and it's memory representation are different concepts, although
they are similar at the look


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to