Branch: refs/heads/main
Revision: e1a11e6
Author: stonea
Log Message:
Merge pull request #18256 from stonea/array_module_review__first_last
renamed array front
and back
methods to first
and last
This PR is part of the Array module review and satisfies this issue: Array module review followup: Rename Array front/back to first/last · Issue #18087 · chapel-lang/chapel · GitHub
One item we had agreement on is that we should rename the array front and back methods to first and last. This provides consistency with domain which uses first and last to refer to the first and last indices.
[Reviewed by @lydia-duncan]
Modified Files:
A test/deprecated/arrays.chpl
A test/deprecated/arrays.good
M modules/internal/ChapelArray.chpl
M test/arrays/diten/arrayBack2D.chpl
M test/arrays/diten/arrayBackOOB.chpl
M test/arrays/diten/arrayFront2D.chpl
M test/arrays/diten/arrayFrontBack.chpl
M test/arrays/diten/arrayFrontOOB.chpl
Compare: https://github.com/chapel-lang/chapel/compare/8c537f174976...e1a11e639b50