PappliedInstr:
Filter:
Classes (extension) | Libraries > crucial > Instr

PappliedInstr : Instr : Object
ExtensionExtension

partial application for Instr
Source: Instr.sc
Subclasses: CompositeInstr

Description

In computer science, partial application (or partial function application) refers to the process of fixing a number of arguments to a function, producing another function of smaller arity.

A partially applied Instr produces a PappliedInstr that references the Instr (by name) and which arguments are satisfied. A PappliedInstr is usable as any normal Instr but it has fewer arguments than the original.

The resulting PappliedInstr now has the Envelope hardcoded.

Class Methods

PappliedInstr.new(a, args)

Arguments:

a
args

Inherited class methods

Instance Methods

.a

.a = value

.appliedArgs

.appliedArgs = args

Arguments:

args

.argNames

.defArgs

.storeArgs

.init

.value( ... args)

Arguments:

... args

.valueArray(args)

Arguments:

args

.ar( ... args)

Arguments:

... args

.kr( ... args)

Arguments:

... args

.outSpec

.outSpec = value

.maxArgs

.argsSize

.initAt(i)

Arguments:

i

.argNameAt(i)

Arguments:

i

.defArgAt(i)

Arguments:

i

.funcDef

.storeableFuncReference

.asString

.asInstr

.guiClass

Inherited instance methods