• About
  • Snapshots
  • LTS
  • Nightly
  • FAQ
  • Blog

Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. mutVarToIORef :: MutVar RealWorld a -> IORef a

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert MutVar to IORef

  2. mutVarToSTRef :: MutVar s a -> STRef s a

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert MutVar to STRef

  3. newMutVar :: PrimMonad m => a -> m (MutVar (PrimState m) a)

    classy-prelude-yesod ClassyPrelude.Yesod

    Create a new MutVar with the specified initial value.

  4. newTVar :: a -> STM (TVar a)

    classy-prelude-yesod ClassyPrelude.Yesod

    Create a new TVar holding a value supplied

  5. newTVarIO :: MonadIO m => a -> m (TVar a)

    classy-prelude-yesod ClassyPrelude.Yesod

    Lifted version of newTVarIO

  6. readMutVar :: PrimMonad m => MutVar (PrimState m) a -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Read the value of a MutVar.

  7. readTVar :: TVar a -> STM a

    classy-prelude-yesod ClassyPrelude.Yesod

    Return the current value stored in a TVar.

  8. readTVarIO :: MonadIO m => TVar a -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Lifted version of readTVarIO

  9. stateTVar :: TVar s -> (s -> (a, s)) -> STM a

    classy-prelude-yesod ClassyPrelude.Yesod

    Like modifyTVar' but the function is a simple state transition that can return a side value which is passed on as the result of the STM.

  10. swapTVar :: TVar a -> a -> STM a

    classy-prelude-yesod ClassyPrelude.Yesod

    Swap the contents of a TVar for a new value.

Page 80 of many | Previous | Next

Stackage is a service provided by the Haskell Foundation │ Originally developed by FP Complete