#2054: :history doesn't work if :trace is not used initially
---------------------+------------------------------------------------------
 Reporter:  igloo    |          Owner:         
     Type:  bug      |         Status:  closed 
 Priority:  normal   |      Milestone:  6.8.3  
Component:  GHCi     |        Version:  6.8.2  
 Severity:  normal   |     Resolution:  invalid
 Keywords:           |     Difficulty:  Unknown
 Testcase:           |   Architecture:  Unknown
       Os:  Unknown  |  
---------------------+------------------------------------------------------
Changes (by simonmar):

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

Comment:

 This is the correct result.  `main` is a CAF (see
 [http://www.haskell.org/haskellwiki/Constant_applicative_form]), so the
 breakpoint is only seen the first time it is evaluated.  This is, I claim,
 what you want: GHC is telling you that it didn't need to evaluate that
 breakpoint the second time.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2054#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to