Is there a reason why the output of :info
in ghci is listing the type name after every class it belongs to? For example
Prelude> :info Int`
prints
...
instance Bounded Int -- Defined in `GHC.Enum'
instance Enum Int -- Defined in `GHC.Enum'
instance Eq Int -- Defined in `GHC.Classes*emphasized text*'
...
What I'd prefer to read is something like:
Prelude> :info Int
...
instance Bounded -- Defined in `GHC.Enum'
instance Enum -- Defined in `GHC.Enum'
instance Eq -- Defined in `GHC.Classes*emphasized text*'
...
or even better would be brief notation like
Prelude> :info Int
...
instance of Bounded, Enum, Eq,...