Generics

Thomas Schilling nominolo at googlemail.com
Mon Mar 22 11:59:52 EDT 2010


I wonder if the ghc-syb package really needs to depend on syb.  Just
data may be enough if we split it up.  How would you make use of syb
without depending on the syb package?

On 22 March 2010 11:08, David Waern <david.waern at gmail.com> wrote:
> 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
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc
>



-- 
Push the envelope.  Watch it bend.



More information about the Cvs-ghc mailing list