Missing instance declarations in base

Sven Panne svenpanne at gmail.com
Mon Jun 29 20:46:59 UTC 2015

2015-06-29 22:40 GMT+02:00 Henning Thielemann <lemming at henning-thielemann.de

> On Mon, 29 Jun 2015, Edward Kmett wrote:
>  It depends. The problem is ultimately that folks use Storable for many
>> things. Sometimes it is native interop, but sometimes it is for serializing
>> out to a known binary file format, etc. In the absence of these extra
>> instances we do not have to choose its "real" role. If we added them then
>> we'd start committing to one of those scenarios.
> The Storable class is part of the FFI and thus I think we must comply to
> the system ABI.

-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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150629/bf217029/attachment-0001.html>

More information about the Libraries mailing list