#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):
You said "as you know" - I don't mind the reclassification, but I thought
:def was built-in? You give it a "String -> IO String" and it executes the
output string, which can have multiple lines. I think it is a good
feature, but things could be better if :def would tell you which line an
error is on (regardless of whether those lines are being read from a
file).
--
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