Heap representation evil

John Meacham john at repetae.net
Tue Oct 24 00:28:33 EDT 2006

On Mon, Oct 23, 2006 at 06:43:26PM -0700, Brandon Moore wrote:
> A different and in all likelihood saner approach is building up more 
> tools for manipulating pointers to C data from Haskell, perhaps along 
> the lines of cmucl's support for "Alien Objects".
> http://www.math.sunysb.edu/~sorin/online-docs/cmucl/aliens.html

sorry to respond twice to the same mail, but have you seen hsc2hs? it
can let you access arbitrary components of structures defined in C, or
have haskell values that map to unknown c integral types in a portable

hsc2hs is nice. it is the minimum needed to write portable haskell ffi
using code.


John Meacham - ⑆repetae.net⑆john⑈

More information about the Glasgow-haskell-users mailing list