Factor handbook » The language » Collections

Prev:Bidirectional assocs

References provide a uniform way of accessing and changing values. Some examples of referenced values are variables, tuple slots, and keys or values of assocs. References can be read, written, and deleted. References are defined in the refs vocabulary, and new reference types can be made by implementing a protocol.
Reference protocol
Reference implementations
Reference utilities

References are used by the UI inspector.