[Haskell-cafe] Storable types

Henning Thielemann lemming at henning-thielemann.de
Thu Dec 20 10:01:00 EST 2007

On Thu, 20 Dec 2007, Alex Sandro Queiroz e Silva wrote:

> Hallo fellow Brazilian,
> Clerton Filho escreveu:
> > Hi,
> >
> > I'm newbie in Haskell, and I have some doubts... In this programming
> > language, do we have storable values? Case affirmative, what are the
> > storable types in Haskell, and how can I implement then...
>      What exactly is a storable type?

I guess you mean:

A type becomes storable by implementing the Storable methods, namely
sizeOf, aligment, peek, poke. To this end you can convert to and access
the Storable methods of CInt, CDouble and friends.

More information about the Haskell-Cafe mailing list