Add public rnf/hash operations to TypeRep/TyCon

Authored by hvr on Mar 5 2015, 11:56 AM.

Description

Add public rnf/hash operations to TypeRep/TyCon

Summary:
TyCon and TypeRep are supposed to be abstract, by providing these
additional few public operations the need to import
Data.Typeable.Internal is reduced, and future changes to the internal
structure of TypeRep/TyCon shouldn't require changes in packages such as
deepseq or hashable anymore (hopefully).

Reviewers: ekmett, simonpj, tibbe, austin

Reviewed By: ekmett, simonpj, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D699

Details

Committed
austinMar 5 2015, 11:56 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Reviewer
ekmett
Differential Revision
D699: Add public rnf/hash operations to TypeRep/TyCon
Parents
rGHCDIFF8a5d32057fb8: Remove unused/undocumented flag `-fhpc-no-auto`
Branches
Unknown
Tags
Unknown