Skip to content

:info printing instances often isn't wanted

:info shows all instances of types/classes, which often obscures the info I'm actually interested in. See the output of e.g. ":info Show" or ":info [] Maybe Int": The class and types are rather lost in between the instances. My proposal is to add an option to suppress the printing of instances. With the attached patch for 6.10.1 (although it applies to HEAD too), ":info -Show" will only print the class.

Trac metadata
Trac field Value
Version 6.10.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information