You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if you generate code without explicit kind annotations in that example, it won't kind-check anyway due to other TH limitations mentioned here. If KindSigOptions isn't useful here, where is it useful? There are no examples in the test suite that make use of it, and I can't recall exactly why I needed it in the first place. We should either:
Come up with an example where kindSigOptions = False is needed and document it, or
The examples given to justify `KindSigOptions` are flawed, as they won't
kind-check even without explicit kind annotations. Until we can come up with
better examples to illustrate how to use `KindSigOptions` (see #81), let's
just remove these examples.
The example that is given in the Haddocks for how to use
KindSigOptions
is not terribly helpful:generic-deriving/src/Generics/Deriving/TH.hs
Lines 128 to 138 in e858579
Even if you generate code without explicit kind annotations in that example, it won't kind-check anyway due to other TH limitations mentioned here. If
KindSigOptions
isn't useful here, where is it useful? There are no examples in the test suite that make use of it, and I can't recall exactly why I needed it in the first place. We should either:kindSigOptions = False
is needed and document it, orKindSigOptions
.The text was updated successfully, but these errors were encountered: