Hi Vass,
On Wed, 22 Nov 2017, Vassily Litvinov wrote:
I think the use of "min" and "max" in reductions is a special case.
Yes. Although I think I saw some issue on GitHub where Brad is talking
about allowing
max=
and
min=
operators in the same sense as += and the like. I thought that somewhere,
sometime, that max and min were, or were going to be, operators. And just
got more lost from there.
Our documentation is certainly not perfect. If you have suggestions on
how to improve it, for example with respect to min/max, you are most
welcome to open a pull request or a github issue.
I looked at this but quickly realised that documentation from somebody
who did not understand the full picture might be less than useful.
We have been moving away from adding this kind of documentation to the
language spec, in favor of the online documentation.
It is normally pretty good but you need to know roughly what you are
looking for. I went looking for a comforting word about whether the
conversion of a 'bool' which is true to an integer will always convert to
the digit 1. I could not find it in the online documentation but that was
probably because I was choosing the wrong words as search keys. I think
that 9.1.1 in the specification guarantees that. Maybe my brain just
selects poor search keys.
Regards - Damian
Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers