--make keep going?

Benjamin Franksen benjamin.franksen at bessy.de
Fri Mar 3 11:02:47 EST 2006


On Friday 03 March 2006 15:10, Bulat Ziganshin wrote:
> it will also be great to make syntax analysis of all source files
> before compiling them. typical situation - after correcting program i
> run --make, long wait while some modules will be compiled and only
> after that ghc complains about some error. it's not yet feature req,
> just some thoughts about ideal compilation cycle: first syntax check
> all modules and print errors, then perform type analysis and report
> errors, then compile correct modules. what other haskellers think
> about this?

Sounds nice. But is it possible? I have no idea.

> another problem is what ghc tries to print entire block when it
> encounters error. but this block can contain hundreds of lines!
> moreover, error message and line number printed at the beginning, so
> on 25-line terminal it's just impossible to know anything about bug!
> it will be great to print maximum one line, i think

25-line terminal and no scroll bar, how poor. I thought that everybody 
nowadays has access to screens with graphical resolutions, not? Anyway, 
this would be an nice option, but it should not be the default. What 
about compiler switch --terse?

Ben


More information about the Glasgow-haskell-users mailing list