[GHC] #13037: Single-Stepping evaluation in GHCi (was: educational purpose 2)

GHC ghc-devs at haskell.org
Mon Dec 26 22:07:21 UTC 2016


#13037: Single-Stepping evaluation in GHCi
-------------------------------------+-------------------------------------
        Reporter:  vanto             |                Owner:
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.1
      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 nomeata):

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


Comment:

 As great as it would be to have this, I believe it is unrealistic within
 the scope of GHC. The code that is run by GHC has little resemblance with
 the original source code, and `[1..3]` does not step to `[2,3]`, for
 example.

 The closest support for this is the GHCi debugger, see the user’s guide
 for it. But it is more suited for experienced developers.

 There might be dedicated tools for teaching out there that do that.

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


More information about the ghc-tickets mailing list