@hackage proxy-kindness0.1

A library for kind-polymorphic manipulation and inspection of Proxy values

It can be useful (especially with PolyKinds) to get the "bare" type (e.g. Either) of some parameterized type (e.g. Either Char Int). This library provides closed classes that can strip and reapply type arguments, as well as useful utility functions. Here are some examples:

Force Left 1 to be of type Either Float a using a partially-applied Proxy.

>>>>>>

Do the same, but illustrating type application with ap

>>>>>>

Force polymorphic undefined to some polymorphic Either type, the base type of t defined above.

>>>>>>