Re: [commit: ghc] master: Add :info! to GHCi. This shows all instances without filtering first. (2ec32a8)

2012-12-04 Thread Simon Marlow
On 03/12/12 20:13, Iavor Diatchki wrote: Hello, On Mon, Dec 3, 2012 at 8:44 AM, Simon Marlow marlo...@gmail.com mailto:marlo...@gmail.com wrote: OI know that Accessor has an Applicative instace because the operations work. I'd like to find the instance, so I can see how it works,

Re: [commit: ghc] master: Add :info! to GHCi. This shows all instances without filtering first. (2ec32a8)

2012-12-03 Thread Simon Marlow
On 30/11/12 18:25, Iavor Diatchki wrote: Hello Simon, there was no discussion because I thought that this would be completely uncontroversial since: (i) it does not change the current behavior, and (ii) it adds new functionality which is quite useful. Here is the use case that motivated me to

Re: [commit: ghc] master: Add :info! to GHCi. This shows all instances without filtering first. (2ec32a8)

2012-12-03 Thread Iavor Diatchki
Hello, On Mon, Dec 3, 2012 at 8:44 AM, Simon Marlow marlo...@gmail.com wrote: OI know that Accessor has an Applicative instace because the operations work. I'd like to find the instance, so I can see how it works, so I try: Ok, so this is a bug: you shouldn't be able to use the instance

Re: [commit: ghc] master: Add :info! to GHCi. This shows all instances without filtering first. (2ec32a8)

2012-11-30 Thread Simon Marlow
On 30/11/12 02:03, Iavor Diatchki wrote: Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/2ec32a8e1cb323b230b0c228dbee313647892bf4 --- commit

Re: [commit: ghc] master: Add :info! to GHCi. This shows all instances without filtering first. (2ec32a8)

2012-11-30 Thread Iavor Diatchki
Hello Simon, there was no discussion because I thought that this would be completely uncontroversial since: (i) it does not change the current behavior, and (ii) it adds new functionality which is quite useful. Here is the use case that motivated me to implement this (described by Eric Mertens,