primitive-unlifted-2.1.0.0: Primitive GHC types with unlifted types inside
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Primitive.Unlifted.MVar.Primops

Documentation

newUnliftedMVar# :: State# s -> (# State# s, UnliftedMVar# s a #) #

takeUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, a #) #

tryTakeUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, (# (# #) | a #) #) #

putUnliftedMVar# :: UnliftedMVar# s a -> a -> State# s -> State# s #

tryPutUnliftedMVar# :: UnliftedMVar# s a -> a -> State# s -> (# State# s, Int# #) #

readUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, a #) #

tryReadUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, (# (# #) | a #) #) #

isEmptyUnliftedMVar# :: UnliftedMVar# s a -> State# s -> (# State# s, Int# #) #