Skip to content

include generics library

Is it possible to include a generics library (e.g. SYB) in the boot libraries? This would make the GHC API easier to use within systems whose dependencies are a subset of GHC's (e.g. Haddock). In particular, various internal GHC types are instances of Data etc. and can be accessed easily via the generics library.

(I have a variant of Haddock that can, in conjunction with HsColour, generate mouseover types, http://goto.ucsd.edu/~rjhala/Annot/ but it uses SYB to traverse the parsed-and-typechecked-source.)

Trac metadata
Trac field Value
Version 7.0.3
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information