Carolina Mattos Cavalcanti wrote:

> I´m Carol, and I´m just need some help to find the predefined types  
> from the storable class. [...]


The following types are instances of Storable:


    Bool, Char, Int, Word, Ptr a, FunPtr a, StablePtr a, Float, Double,
    Word8, Word 16, Word32, Word64, Int8, Int16, Int32, Int64, Addr

Note that the FFI "looks through" newtypes, so e.g. everything from CTypes
is an instance of Storable, too. Did you have a look at the FFI draft

    http://www.cse.unsw.edu.au/~chak/haskell/ffi.ps.gz

especially sec. 5.7? If yes, we should clarify this a bit...

Hope that helps,
    S.



_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to