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:
http://www.haskell.org/pipermail/haskell-cafe/2007-September/032260.html
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.
Peter.
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users