Good morning,
Finally, a few odd things it would be nice to see in the
language or to fix annoyances. Thanks the for time reading
through all this, by the way!
1. It would be nice to see the default value of config
constants in the help message (in the table that lists
the command-line options).
2. We've found it necessary often enough to iterate over
the ranges of a domain separately. Doing array.domain.dim(1)
is a bit of typing. Would it be possible to have a
method array.range(i)?
3. Could the M_* constants from math.h be added to Math.chpl?
(Especially M_PI.)
4. What is the reason for not setting a class instance to nil
after calling delete, if you can't use it any more?
5. The compiler stops after each error, which makes it
frustrating to fix problems since it's not the fastest.
It feels like trying to get a script working: you hit
one typo then have to re-start the script.
6. The minloc and maxloc reductions need a zipper with the
array and its domain. Can't it get the domain from the
array itself? 'maxloc reduce zip(A, A.domain)' is just
verbose, although having the ability to provide a
separate labeling sequence from the data would be useful
in other situations.
Greg K.
------------------------------------------------------------------------------
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users