[Haskell-cafe] Bit fiddling

Florian Weimer fw at deneb.enyo.de
Tue May 17 17:09:30 EDT 2005


* robert dockins:

> Probably you have seen this already, but I thought I'd mention it on the 
> off-chance you missed it:
>
> http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data.Bits.html
> http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data.Word.html
>
> Probably you'll want to think about an IOUArray of Word8, or something 
> similar.

IOUArray looks indeed interesting, thanks.  How can I pass such
objects (in particular of type IOUArray Int Word8) to a C routine,
preferably as a void */size_t combination?


More information about the Haskell-Cafe mailing list