Pget : Pattern : AbstractFunction : Object

Retrieve a value within the scope (namespace) of a Plambda
Source: Plambda.sc

Description

Pget retrieves the value of a Plet. Plet/Pget are used to share data between patterns inside of a Plambda

Class Methods

Pget.new(key, default, repeats: 1)

Arguments:

key

The name of the variable

default

default value if none is defined by a paired Plet

repeats

Inherited class methods

6 methods from Object ► show

Instance Methods

.default

.default = value

.storeArgs

.key

.key = value

.repeats

.repeats = value

.embedInStream(inval)

Arguments:

inval

Inherited instance methods

42 methods from Pattern ► show
159 methods from AbstractFunction ► show
259 methods from Object ► show

Examples