[GHC] #13811: eta reduction in GHCi for an educational purpose

GHC ghc-devs at haskell.org
Sun Jun 11 23:24:13 UTC 2017


#13811: eta reduction in GHCi for an educational purpose
-------------------------------------+-------------------------------------
        Reporter:  vanto             |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.2
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by goldfire):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 My instinct is that this feature is beyond the scope of GHCi and is better
 incorporated into another tool (perhaps
 [https://github.com/HeinrichApfelmus/hyper-haskell HyperHaskell]?), but
 others may differ in opinion. Regardless of my opinion on the feature, the
 way to incorporate this user-facing change is to write a
 [https://github.com/ghc-proposals/ghc-proposals ghc-proposal].

 I'll also note that this will be hard to implement, as GHC does not store
 the user-written definition of functions anywhere.

 Given that this belongs as a ghc-proposal instead of a Trac ticket, I will
 close. This ticket can be reopened when the proposal is accepted.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13811#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list