No matching definitions.

tur/rc

stdlib/rc.tur

reference-counted pointer (rc<T>) for shared ownership.

Since: Phase 9

defn

rc-payload

(rc-payload [A])

read the value stored in an rc<A>.

rthe rc<A> to read (borrowed, not consumed)

The contained value. Zero for a null handle.

(let [r (rc/of 7)]
    (println (rc-payload r)))  ; => 7

Since: Phase HKT S6

definstance

Functor[rc]

(definstance Functor [rc])

Functor instance for rc<T>.

Since: Phase HKT H3

definstance

Foldable[rc]

(definstance Foldable [rc])

Foldable instance for rc<T>.

Since: Phase HKT S6

definstance

Clone[rc]

(definstance Clone [rc])

SINCE: Phase B1

Since: Phase B1