tur/rc
stdlib/rc.tur
definstance
Functor[ptr<void>]
(definstance Functor [ptr<void>])
Functor instance for rc<T> via ptr<void> representation.
Since: Phase HKT H3
definstance
Foldable[ptr<void>]
(definstance Foldable [ptr<void>])
Foldable instance for rc<T> via ptr<void> representation.
Since: Phase HKT S6
definstance
Clone[rc]
(definstance Clone [rc])
SINCE: Phase B1
Since: Phase B1
definstance
Clone[ptr<void>]
(definstance Clone [ptr<void>])
Clone instance for rc<T> via ptr<void>; increments refcount, no value copy.
Since: Phase B1
Internal definitions
__functor_rc_fmap-- SINCE: Phase HKT H3__foldable_rc_foldl-- SINCE: Phase HKT ยง6__foldable_rc_foldr-- internal right-fold over a single-element rc<T>.__clone_rc_shallow-- SINCE: Phase B1 (HKT workaround)