[Chapel Merge] Add primers for forall loops and task intents

Branch: refs/heads/master
Revision: 5c3ff4c
Author: vasslitvinov
Log Message:

Merge pull request #17370 from vasslitvinov/primers-forall-task-intent

Add primers for forall loops and task intents

  • Adds forallLoops.chpl - a new primer about forall loops,
    task intents including reduce intents, shadow variables,
    and task-private variables.

  • Adds task intents, including reduce intents, to the taskParallel primer.

  • Fixes up a couple of anchors that needed a leading underscore.

Extensively tested with start_test.

Reviewed and otherwise contributed by: @bradcray, @lydia-duncan,
@leekillough, @cassella.

Modified Files:
A test/release/examples/primers/forallLoops.chpl

A test/release/examples/primers/forallLoops.good
M doc/rst/meta/primers/index.rst
M test/release/examples/primers/Makefile
M test/release/examples/primers/README
M test/release/examples/primers/arrays.chpl
M test/release/examples/primers/parIters.chpl
M test/release/examples/primers/taskParallel.chpl

Compare: https://github.com/chapel-lang/chapel/compare/5711c298b3f5...5c3ff4cf6f6a