Proposal: add Data.Data instances for Foreign.C.Types

José Pedro Magalhães jpm at cs.uu.nl
Fri Jun 29 09:26:26 CEST 2012


Hi there,

On Wed, Jun 27, 2012 at 9:40 PM, Ryan Newton <rrnewton at gmail.com> wrote:

> I recently was wanting to use SYB for an AST datatype which includes
> constants like CDouble/CFloat.  Currently Data.Data exports Int8...Int64
> and Word instances, but no instances for Foreign.C.Types:
>
>
> http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Data.html
>
> Is there any reason these instances should not be exported by Data.Data?
>

Probably just because no one needed them before. I'm fine with adding them,
if no one has anything against. Will you provide the patch?


Thanks,
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120629/8d68b917/attachment.htm>


More information about the Libraries mailing list