PLbeta:
Filter:
miSCellaneous_lib/Classes (extension) | Libraries > miSCellaneous > PLx suite | Streams-Patterns-Events > PLx suite

PLbeta
ExtensionExtension

dynamic scope Pbeta variant

Description

Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx_suite.

Class Methods

.new

Creates a new PLbeta object.

Arguments:

lo

Symbol or Pbeta lo arg. If a Symbol is passed, list can be assigned to an envir variable later on. Can be dynamically replaced by Patterns or Streams. Defaults to 0.

hi

Symbol or Pbeta hi arg. If a Symbol is passed, list can be assigned to an envir variable later on. Can be dynamically replaced by Patterns or Streams. Defaults to 1.

prob1

Symbol or Pbeta prob1 arg. If a Symbol is passed, list can be assigned to an envir variable later on. Can be dynamically replaced by Patterns or Streams. Defaults to 1.

prob2

Symbol or Pbeta prob2 arg. If a Symbol is passed, list can be assigned to an envir variable later on. Can be dynamically replaced by Patterns or Streams. Defaults to 1.

length

Symbol or Pbeta length arg. If a Symbol is passed, list can be assigned to an envir variable later on. Defaults to inf.

envir

Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \current.

Examples