Discussion: List instances for a type in GHCi #166

Hello, I'd like to start the discussion about feature request #166, "List instances for a type in GHCi". In short, the idea is that we add a new command to GHCi, `:instances TYPE`, which given a type, will show the list of instances---for any class---that could be used with this type. It seems like this could be a potentially handy thing to do, and it doesn't really interfere with anything else, so I recommend that we accept it. Please let me know what you think. -Iavor

Yes, I'm in favor. Richard
On Oct 26, 2018, at 1:59 PM, Iavor Diatchki
wrote: Hello,
I'd like to start the discussion about feature request #166, "List instances for a type in GHCi". In short, the idea is that we add a new command to GHCi, `:instances TYPE`, which given a type, will show the list of instances---for any class---that could be used with this type.
It seems like this could be a potentially handy thing to do, and it doesn't really interfere with anything else, so I recommend that we accept it.
Please let me know what you think.
-Iavor _______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee

And nobody disagrees… accepted Cheers, Joachim Am Montag, den 29.10.2018, 00:16 -0400 schrieb Richard Eisenberg:
Yes, I'm in favor.
Richard
On Oct 26, 2018, at 1:59 PM, Iavor Diatchki
wrote: Hello,
I'd like to start the discussion about feature request #166, "List instances for a type in GHCi". In short, the idea is that we add a new command to GHCi, `:instances TYPE`, which given a type, will show the list of instances---for any class---that could be used with this type.
It seems like this could be a potentially handy thing to do, and it doesn't really interfere with anything else, so I recommend that we accept it.
Please let me know what you think.
-Iavor _______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
_______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/
participants (3)
-
Iavor Diatchki
-
Joachim Breitner
-
Richard Eisenberg