Classes | Core

RefCopy : Ref : AbstractFunction : Object

a reference to the copy of a value
Source: Ref.sc

Description

A Ref instance is an object with a single slot named 'value' that serves as a holder of an object. RefCopy, in difference to Ref, returns only copies of the value when next is called. This can be useful when the original is to be kept unchanged.

see Ref for other methods.

Class Methods

Inherited class methods

1 methods from Ref ► show
8 methods from Object ► show

Instance Methods

Inherited instance methods

17 methods from Ref ► show
159 methods from AbstractFunction ► show
266 methods from Object ► show

Undocumented instance methods

.next

Examples