<div dir="ltr"><div><span style="font-family:arial,sans-serif">To respond to your original point:<br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><pre><span style="font-family:arial,sans-serif">Morally I think that

    class Typeable (a :: k)

should have been

    class Typeable k => Typeable (a :: k)</span></pre></div></blockquote><div>This has been considered before, although it is not entirely straightforward to implement. See [1] and [2], which track the idea of having GHC solve these constraints automatically, without the need for users to explicitly reach for `typeRepKind`.<br></div><div><br></div><div>Best,</div><div><br></div><div>Ryan</div><div>-----</div><div>[1] <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/14190">https://gitlab.haskell.org/ghc/ghc/-/issues/14190</a></div><div>[2] <a href="https://gitlab.haskell.org/ghc/ghc/-/issues/16627">https://gitlab.haskell.org/ghc/ghc/-/issues/16627</a></div></div>