Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. casUnliftedMutVar# :: forall s (a :: UnliftedType) . UnliftedMutVar# s a -> a -> a -> State# s -> (# State# s, Int#, a #)

    primitive-unlifted Data.Primitive.Unlifted.MutVar.Primops

    Performs a machine-level compare and swap (CAS) operation on an UnliftedMutVar#. Returns a tuple containing an Int# which is '1#' when a swap is performed, along with the most "current" value from the UnliftedMutVar#. This return value can be used as the expected value if a CAS loop is required, though it may be better to get a fresh read. Note that this behavior differs from the more common CAS behavior, which is to return the old value before the CAS occured.

  2. newUnliftedMutVar# :: forall (a :: UnliftedType) s . a -> State# s -> (# State# s, UnliftedMutVar# s a #)

    primitive-unlifted Data.Primitive.Unlifted.MutVar.Primops

    No documentation available.

  3. readUnliftedMutVar# :: forall s (a :: UnliftedType) . UnliftedMutVar# s a -> State# s -> (# State# s, a #)

    primitive-unlifted Data.Primitive.Unlifted.MutVar.Primops

    No documentation available.

  4. sameUnliftedMutVar# :: forall s (a :: UnliftedType) . UnliftedMutVar# s a -> UnliftedMutVar# s a -> Int#

    primitive-unlifted Data.Primitive.Unlifted.MutVar.Primops

    Check whether two UnliftedMutVar#es refer to the same mutable variable. This is a check on object identity, and not on contents.

  5. writeUnliftedMutVar# :: forall s (a :: UnliftedType) . UnliftedMutVar# s a -> a -> State# s -> State# s

    primitive-unlifted Data.Primitive.Unlifted.MutVar.Primops

    No documentation available.

  6. UnliftedMutVar :: UnliftedMutVar# s unlifted_a -> UnliftedMutVar_ s a (unlifted_a :: UnliftedType)

    primitive-unlifted Data.Primitive.Unlifted.MutVar.ST

    No documentation available.

  7. type UnliftedMutVar s a = UnliftedMutVar_ s a Unlifted a

    primitive-unlifted Data.Primitive.Unlifted.MutVar.ST

    No documentation available.

  8. data UnliftedMutVar_ s a (unlifted_a :: UnliftedType)

    primitive-unlifted Data.Primitive.Unlifted.MutVar.ST

    No documentation available.

  9. atomicSwapUnliftedMutVar :: PrimUnlifted a => UnliftedMutVar s a -> a -> ST s a

    primitive-unlifted Data.Primitive.Unlifted.MutVar.ST

    No documentation available.

  10. casUnliftedMutVar :: PrimUnlifted a => UnliftedMutVar s a -> a -> a -> ST s (Bool, a)

    primitive-unlifted Data.Primitive.Unlifted.MutVar.ST

    No documentation available.

Page 11 of many | Previous | Next