const-0: Read-only mutable primitives

Copyright(c) 2019 Edward Kmett
LicenseBSD-2-Clause OR Apache-2.0
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellTrustworthy
LanguageHaskell2010

Data.Const.STRef

Description

 

Documentation

data ConstSTRef s a Source #

Instances
Constable (ConstSTRef s :: Type -> Type) (ConstSTRef s :: Type -> Type) Source # 
Instance details

Defined in Data.Const.Unsafe

Constable (ConstSTRef s :: Type -> Type) (STRef s :: Type -> Type) Source # 
Instance details

Defined in Data.Const.Unsafe

Eq (ConstSTRef s a) Source # 
Instance details

Defined in Data.Const.Unsafe

Methods

(==) :: ConstSTRef s a -> ConstSTRef s a -> Bool #

(/=) :: ConstSTRef s a -> ConstSTRef s a -> Bool #

constSTRef :: AnSTRef s p => p a -> ConstSTRef s a Source #

readAnSTRef :: forall s p a. AnSTRef s p => p a -> ST s a Source #