Plambda:
Filter:

Plambda : FilterPattern : Pattern : AbstractFunction : Object

create a scope (namespace) for enclosed streams
Source: Plambda.sc

Plambda is used to create a namespace for patterns to share data among each other.

Used in combination with Plet and Pget, it allows you to get the output of a pattern from one stream and use it in another stream and as such create a dataspace for your patterns.

Class Methods

Plambda.new(pattern, scope)

Arguments:

pattern

an event stream.

scope

an event with default bindings (can be nil).

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.scope

.scope = value

Examples