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
Could the code viewer perhaps show the inferred kind of a type parameter on hover, perhaps with a similar UI to type-on-hover? e.g. it might show Type or * when hovering over a in the following declaration (on either the LHS or RHS):
haskell-code-indexer gets kinds of type constructors and type variables from the type environment (a map from Name to TyThing created by the GHC) of a module. Type constructors are always in the type environment, type variables, however, sometimes are omitted from the type environment. As far as I understand, it depends on whether the value constructor, e.g., MkFoo, is used (not just declared) somewhere in the current module.
Could the code viewer perhaps show the inferred kind of a type parameter on hover, perhaps with a similar UI to type-on-hover? e.g. it might show
Typeor*when hovering overain the following declaration (on either the LHS or RHS):