Generics

David Waern david.waern at gmail.com
Mon Mar 22 07:08:28 EDT 2010


2010/3/22 Simon Peyton-Jones <simonpj at microsoft.com>:
> | We've discussed support for generic programming of the GHC AST before.
> | Is there any chance we could move further on this topic by providing
> | Data and Typeable instances for HsSyn either directly in the ghc
> | package or in a boot library?
>
> I'm not against that.  If we do it, we should do it in HsSyn itself; that will avoid orphan instances, and a boot library gets compiled in regardless so we are stuck with the code size increase.
>
> Simon
>

OK, that's great. I'll see if I can come up with some patches at a later time.

David



More information about the Cvs-ghc mailing list