Typeable: Generalize kind of represented type
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 19 Sep 2017 22:59:18 +0000 (18:59 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 21 Sep 2017 15:30:38 +0000 (11:30 -0400)
commit9e46d88adeea1fd399dff1208aa5710d696c542c
treeb633a3b9693cd8463922211b88206a9e4d96767a
parentcc6be3a2f23c9b2e04f9f491099149e1e1d4d20b
Typeable: Generalize kind of represented type

This allows withTypeable to be used with things that are of kind other
than Type.

Test Plan: Validate

Reviewers: austin, hvr, dfeuer

Reviewed By: dfeuer

Subscribers: rwbarton, thomie, dfeuer

Differential Revision: https://phabricator.haskell.org/D3996
libraries/base/Data/Typeable/Internal.hs