Fdef:
Filter:
Classes | JITLib > Patterns | Live Coding

Fdef : Maybe : Ref : AbstractFunction : Object

lazy function proxy
Source: Fdef.sc

Description

Fdef is a placeholder for functions. Fdef allows dynamically replacing functions while they are being used.

See also: Maybe and the JITLib overview.

Class Methods

Fdef.new(key, val)

Arguments:

key

if no instance exists with this name, create a new one, otherwise return the existing one.

val

If a Function is given, replace the old function with the new one.

Inherited class methods

Undocumented class methods

Fdef.all

Fdef.all = value

Instance Methods

Inherited instance methods

Examples