Remove use of KProxy in GHC.Generics
authorRyan Scott <ryan.gl.scott@gmail.com>
Mon, 20 Jun 2016 13:25:55 +0000 (09:25 -0400)
committerRyan Scott <ryan.gl.scott@gmail.com>
Mon, 20 Jun 2016 13:25:56 +0000 (09:25 -0400)
commit0e92af91f7246dd8c6f01ccc475f621e8869a423
tree89bd2b92a59fbf70fc05e36bd854c073644b8bb8
parent0be38a22059ef761ff0f5487e88c18a9fd6df53b
Remove use of KProxy in GHC.Generics

Summary:
With `-XTypeInType`, the singletons machinery that `GHC.Generics` uses
no longer needs `KProxy` to hack around the use of `k` as both a type
and a kind. This is simply changing the code to match what's currently
in the upstream `singletons` repo.

Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Subscribers: thomie, goldfire

Differential Revision: https://phabricator.haskell.org/D2347
libraries/base/GHC/Generics.hs