Pindex:
Filter:
Classes | Streams-Patterns-Events > Patterns > List > Indexing

Pindex : Pattern : AbstractFunction : Object

pattern that indexes into an array

Description

This allows an ArrayedCollection to be accessed within patterns.

Class Methods

Pindex.new(listPat, indexPat, repeats: 1)

Arguments:

listPat

the array. Can be a Pattern.

indexPat

the value to retrieve. Can be a Pattern.

repeats

specifies the number of repeats.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

Examples