[m-users.] Comparison in the reference manual
Mark Brown
mark at mercurylang.org
Tue Nov 10 02:12:20 AEDT 2015
On Mon, Nov 9, 2015 at 1:48 PM, Peter Wang <novalazy at gmail.com> wrote:
> On Mon, 9 Nov 2015 13:34:51 +1100 (AEDT), Julien Fischer <jfischer at opturion.com> wrote:
>>
>> On Mon, 9 Nov 2015, Mark Brown wrote:
>> >
>> > That's a reason for it to be left undefined: because foreign languages
>> > can't be expected to be consistent with each other. What are the
>> > reasons for it to be defined?
>
> It saves writing a function mapping constructors to integers, basically.
I guess that's what it takes to write portable code, when it's a
particular ordering you want. :-(
>
>> I think the issue is the fact that it is undefined needs to be better
>> documented.
>
> That's my issue with it.
Fair enough. My issue is only to be careful not to overconstrain the language.
Cheers,
Mark.
More information about the users
mailing list