Better document TypeRep patterns
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 13 Sep 2017 16:23:47 +0000 (12:23 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 19 Sep 2017 20:47:39 +0000 (16:47 -0400)
commit14195b0982135668890f79b7790caf33c6147240
treecbfc0e88299373c7b59188494bd9726f120c42dd
parent13cd53df15ab38a29c5dfcbdd916ae2ada6ff979
Better document TypeRep patterns

As pointed out in #14199 these are rather non-trivial; extra
documentation is in order.

[skip ci]

Test Plan: Read it

Reviewers: dfeuer, austin, hvr

Subscribers: rwbarton, thomie

GHC Trac Issues: #14199

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

(cherry picked from commit f9bf621caf2fc17d829dee0ee48b204144927e72)
libraries/base/Data/Typeable/Internal.hs