Generics

David Waern david.waern at gmail.com
Fri Mar 19 16:22:48 EDT 2010


Hi,

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?

Clients of the GHC API could use SYB or Uniplate on top of those
instances. Haddock could include a few modules from the generics
library of choice, now that syb is no more a boot library.

The ghc-syb[1] package already exists but it's dependent on syb and
not a boot library, so it can't be used by Haddock.

What do you think?

David

[1] http://hackage.haskell.org/package/ghc-syb



More information about the Cvs-ghc mailing list