Add Data and Typeable instances to HsSyn
authorDavid Waern <david.waern@gmail.com>
Tue, 30 Mar 2010 01:10:20 +0000 (01:10 +0000)
committerDavid Waern <david.waern@gmail.com>
Tue, 30 Mar 2010 01:10:20 +0000 (01:10 +0000)
commitf278f0676579f67075033a4f9857715909c4b71e
tree70316557d88f261e1af80ebe6c132374e32b7c15
parentef6e8211dee59eb7fa80a242391b89b52bd57f80
Add Data and Typeable instances to HsSyn

The instances (and deriving declarations) have been taken from the ghc-syb
package.
30 files changed:
compiler/basicTypes/BasicTypes.lhs
compiler/basicTypes/DataCon.lhs
compiler/basicTypes/Literal.lhs
compiler/basicTypes/Module.lhs
compiler/basicTypes/Name.lhs
compiler/basicTypes/NameSet.lhs
compiler/basicTypes/OccName.lhs
compiler/basicTypes/RdrName.lhs
compiler/basicTypes/SrcLoc.lhs
compiler/basicTypes/Var.lhs
compiler/coreSyn/CoreSyn.lhs
compiler/hsSyn/HsBinds.lhs
compiler/hsSyn/HsDecls.lhs
compiler/hsSyn/HsDoc.hs
compiler/hsSyn/HsExpr.lhs
compiler/hsSyn/HsExpr.lhs-boot
compiler/hsSyn/HsImpExp.lhs
compiler/hsSyn/HsLit.lhs
compiler/hsSyn/HsPat.lhs
compiler/hsSyn/HsPat.lhs-boot
compiler/hsSyn/HsSyn.lhs
compiler/hsSyn/HsTypes.lhs
compiler/prelude/ForeignCall.lhs
compiler/profiling/CostCentre.lhs
compiler/types/Class.lhs
compiler/types/TyCon.lhs
compiler/types/TypeRep.lhs
compiler/utils/Bag.lhs
compiler/utils/FastString.lhs
compiler/utils/Util.lhs