#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 Frederik):
By the way, it would be nice to have either this feature, or a working
"breakpoint" command (I guess the latter is preferable). 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. Either I should put them into a function, in which case I need a
breakpoint to look at them individually, or I can load them in ghci - but
without line numbers for errors, I am limited to small lists of commands.
Perhaps it is possible to write something to load a file line by line
using the GHC API?
--
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