Pget:
Filter:

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

Instance Methods

.default

.default = value

.storeArgs

.key

.key = value

.repeats

.repeats = value

.embedInStream(inval)

Arguments:

inval

Inherited instance methods

Examples