Re: Put Error: before error output

2015-01-27 Thread Konstantine Rybnikov
for messages that would otherwise have been prefixed by Warning, like the current behavior. Thanks, Yitz On Fri, Jan 23, 2015 at 1:04 PM, Konstantine Rybnikov k...@k-bx.com wrote: Hi! I'm bringing this up once again. Can we add Error: in the output of an error in a similar way ghc

Re: Put Error: before error output

2015-01-27 Thread Konstantine Rybnikov
, but I hope it's not that big of a problem). On Tue, Jan 27, 2015 at 7:05 PM, Brandon Allbery allber...@gmail.com wrote: On Tue, Jan 27, 2015 at 12:02 PM, Konstantine Rybnikov k...@k-bx.com wrote: Sorry, I didn't get what you mean. Do you mean `error` [0] function from Prelude? The discussion

Re: Put Error: before error output

2015-01-26 Thread Konstantine Rybnikov
the need for consensus. Simon | -Original Message- | From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Sven | Panne | Sent: 25 January 2015 11:28 | To: Konstantine Rybnikov | Cc: ghc-devs@haskell.org | Subject: Re: Put Error: before error output | | 2015-01-23 12

Re: GHC support for the new record package

2015-01-24 Thread Konstantine Rybnikov
May I suggest something for a syntax (as an option, sorry if it's silly or not related)? I really don't like neither @ or # because they seem too hacky, meanwhile GHC already has an accessor syntax with braces { and }, so, might it be an option to have something like: ``` data Foo = Foo { val ::

Re: Put Error: before error output

2015-01-23 Thread Konstantine Rybnikov
Tuncer, If warnings will be treated as errors it's fine to have Error: shown for them, I think. On Fri, Jan 23, 2015 at 1:14 PM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Fri, Jan 23, 2015 at 12:04 PM, Konstantine Rybnikov wrote: Hi! I'm bringing this up once again. Can we add Error

Put Error: before error output

2015-01-23 Thread Konstantine Rybnikov
Hi! I'm bringing this up once again. Can we add Error: in the output of an error in a similar way ghc shows Warning: for warnings? Main reasoning is that, for example, on a build-server, where you have lots of cores to build your program, if you get an error, it gets lost somewhere in the middle

Re: warn-redundant-constraints present as errors

2015-01-09 Thread Konstantine Rybnikov
On a slightly unrelated note I should say it would be great to have errors contain word Error:. This is especially nice to have because when you build with -j your error that stops compilation gets lost somewhere in the middle of many warnings (which my projects have, unfortunately). On Thu, Jan