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

Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

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

  1. mutVarFromSTRef :: STRef s a -> MutVar s a

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert MutVar to STRef

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert MutVar to IORef

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert MutVar to STRef

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Create a new MutVar with the specified initial value.

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Create a new TVar holding a value supplied

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Lifted version of newTVarIO

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Read the value of a MutVar.

  8. readTVar :: TVar a -> STM a

    classy-prelude-yesod ClassyPrelude.Yesod

    Return the current value stored in a TVar.

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Lifted version of readTVarIO

  10. 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.

Page 80 of many | Previous | Next

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