:info features

Peter Hercek phercek at gmail.com
Thu Feb 5 06:35:43 EST 2009

Remi Turk wrote:
> SPJ agreed with the idea itself, but suggested an alternative set of commands:
>    :info Show        -- See class definition only
>    :instances Show   -- See instances of Show

Hi Remi,

If you do not want to wait till this is implemented you can do it 
yourself using ghci scripting.
Details how to do it are in tutorial from Claus Reinke:
Understanding all the possibilities and limitations of ghci scripting 
may take a day or maybe even more. But once you are done with it you can 
implement your :instances command and and something like 
:infoWithoutInstances withing an hour at most. And it is more 
interesting that you could do much more extensions like this easily if 
you need them in the future.


More information about the Glasgow-haskell-users mailing list