
29 Jun
2015
29 Jun
'15
4:55 p.m.
On Mon, 29 Jun 2015, Brandon Allbery wrote:
On Mon, Jun 29, 2015 at 4:46 PM, Sven Panne
wrote: -1 to obeying the system ABI blindly for tuples: There is the notion of packed structures, not everything using the FFI uses the system ABI (e.g. various OpenGL data structures), etc. Having some kind of support for the system ABI would be nice, but this should not be mixed with the Storable class IMHO. The FFI being part of the Haskell Report, and Storable being necessary for implementation, I think it's on you to produce a new suitable class instead.
I think the same. For packed structures you would need a new PackedStorable class.