Range Methods

Where are range methods in the documentation? They seem elusive. In the
Domain documentation, there are some methods defined that operate on the
ranges returned by some of the methods of a Domain but it would be nice to
find the details for methods of Range. I can see stuff in ChapelRange.chpl
but it is not clear that it is definitive and complete.

Anyway, to the problems at hand.

Creating a Range Subset

$#@! Discourse in email is broken. There was another 100+ lines in that posting and it just dropped them on the floor. I will repost the rest Monday morning US time. Not happy.

Hi Damian, sorry for the trouble. We've noticed in the past that Discourse treats certain patterns as separators below which everything is ignored (and I think things like --- are one of these). Brad asked about it in Best practices: ascii separators in emails? - support - Discourse Meta and looking over that thread may help.

Where are range methods in the documentation?

The range type (and related functions/methods) is currently documented in two places:

https://chapel-lang.org/docs/language/spec/ranges.html
https://chapel-lang.org/docs/builtins/ChapelRange.html

We are planning to unify these two in some way but unfortunately today there are probably some things covered in one of those documents but not the other.

1 Like

That would explain it. I figured something like that. It was just a bit
of a shock at the time.

No problems, I will just avoid those ------- lines into the future.

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

  Where are range methods in the documentation?

The range type (and related functions/methods) is currently documented in
two places:

Ranges — Chapel Documentation 1.32

That's more like it. Standard searches do not find the 1.24 doco and some
of the earlier releases were not as complete.

Chapel Documentation — Chapel Documentation 1.32

We are planning to unify these two in some way but unfortunately today
there are probably some things covered in one of those documents but not
the other.

Thanks - 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