Missing instance declarations in base

Henning Thielemann lemming at henning-thielemann.de
Mon Jun 29 20:55:42 UTC 2015


On Mon, 29 Jun 2015, Brandon Allbery wrote:

> On Mon, Jun 29, 2015 at 4:46 PM, Sven Panne <svenpanne at gmail.com> 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.


More information about the Libraries mailing list