Safe Haskell | None |
---|---|
Language | GHC2021 |
This module is designed to be imported qualified. It provides unsafe operations over the reference counted structures in order to build new primitives wrt linearity.
import qualified Data.Counted.Unsafe as Unsafe
Documentation
inc :: forall m (m' :: Type -> Type) a. MonadIO m => Alias m' a %1 -> m (Alias m' a) Source #
Unsafely increment the counter of some reference counted resource