OxL Reference

3.7 References and ownership qualifiers

NotationMeaning
&Tshared borrow, read-only
&var Texclusive borrow, read and write
frozen Tdeeply immutable value, can be shared between tasks
sync Ta type with internal synchronisation (atomics, Mutex, TVar)
Rc<T>reference counter inside one task
Arc<T>atomic reference counter; T MUST be frozen or sync
view Tzero-copy view of a serialised T over a buffer (§9.6)
secret<T>a value that is not logged, not serialised in clear text and is wiped on destruction (§13.3)

Rules — §7.

Source: docs/spec/oxl-standard.en.md