-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Atomic operations on Data.Vector types -- @package atomic-primops-vector @version 0.1.0.1 module Data.Atomics.Vector -- | Perform a compare-and-swap on a single element of a mutable vector. casVectorElem :: IOVector a -> Int -> Ticket a -> a -> IO (Bool, Ticket a) -- | Unsafe version of casVectorElem which is not bounds checked. unsafeCasVectorElem :: IOVector a -> Int -> Ticket a -> a -> IO (Bool, Ticket a) readVectorElem :: IOVector a -> Int -> IO (Ticket a) unsafeReadVectorElem :: IOVector a -> Int -> IO (Ticket a)