[m-rev.] for review: better error messages for lambda exprs

Julien Fischer jfischer at opturion.com
Wed May 11 21:55:47 AEST 2016



On Wed, 11 May 2016, Paul Bone wrote:

> On Wed, May 11, 2016 at 09:44:28PM +1000, Julien Fischer wrote:
>>
>> Hi Paul,
>>
>>> On Wed, May 11, 2016 at 12:38:48PM +1000, Mark Brown wrote:
>>>> On Wed, May 11, 2016 at 12:11 PM, Paul Bone <paul at bone.id.au> wrote:
>>>>> Philosophically I support making Mercury easier to use, especially for new
>>>>> developers.
>>>>
>>>> I can't tell what you mean by "easier to use". Do you mean that if the
>>>> set of legal programs is restricted, the language is harder to use?
>>>
>>> If the compiler tells the developer more directly what is wrong with their
>>> program, then the compiler is easier to use.  Both Zoltan and Peter's
>>> proposals offer this.
>>
>> No, with Zoltan's approach the compiler will tell the developer directly
>> (i.e exactly) what is wrong with the program *without* generating a
>> bunch of spurious errors along the way.
>
> I must have been unclear because I wasn't expecting these replies.  I only
> meant to say that both proposals aim to make the compiler easier to use
> through better error messages.  Did I say something misleading, where?

No; my reply was  based around the extent of the improvement offered by
both proposals.

Julien.


More information about the reviews mailing list