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: http://haskell.org/ghc/docs/latest/html/libraries/base/Foreign-Storable.html 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. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
