#1363: Sourcing multi-line scripts in GHCi: track line numbers, and bail out 
after
first error
--------------------------------+-------------------------------------------
    Reporter:  Frederik         |        Owner:                  
        Type:  feature request  |       Status:  new             
    Priority:  normal           |    Milestone:  6.10            
   Component:  GHCi             |      Version:  6.6             
    Severity:  normal           |   Resolution:                  
    Keywords:                   |   Difficulty:  Moderate (1 day)
          Os:  Unknown          |     Testcase:                  
Architecture:  Unknown          |  
--------------------------------+-------------------------------------------
Comment (by simonmar):

 As it is, I cannot think of another way to define a bunch of quantities in
 a file
   (e.g. 50 statistical measurements), and then view and manipulate them in
 ghci.

 Maybe I'm being dense, but what's wrong with putting them in a file
 `foo.hs`:
 {{{
 x1 = ...
 x2 = ...
 ...
 x50 = ...
 }}}

 and loading that into GHCi?

   or a working "breakpoint" command (I guess the latter is preferable)

 which particular aspect of breakpoints are you referring to that doesn't
 work?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1363>
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