Hoogle Search

Within LTS Haskell 22.20 (ghc-9.6.4)

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

  1. atomically :: STM a -> IO a

    TCache Data.TCache

    Perform a series of STM actions atomically. Using atomically inside an unsafePerformIO or unsafeInterleaveIO subverts some of guarantees that STM provides. It makes it possible to run a transaction inside of another transaction, depending on when the thunk is evaluated. If a nested transaction is attempted, an exception is thrown by the runtime. It is possible to safely use atomically inside unsafePerformIO or unsafeInterleaveIO, but the typechecker does not rule out programs that may attempt nested transactions, meaning that the programmer must take special care to prevent these. However, there are functions for creating transactional variables that can always be safely called in unsafePerformIO. See: newTVarIO, newTChanIO, newBroadcastTChanIO, newTQueueIO, newTBQueueIO, and newTMVarIO. Using unsafePerformIO inside of atomically is also dangerous but for different reasons. See unsafeIOToSTM for more on this.

  2. atomically :: MonadIO m => STM a -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Lifted version of atomically

  3. atomically :: MonadIO m => STM a -> m a

    stack Stack.Prelude

    Lifted version of atomically

  4. atomically :: MonadIO m => STM a -> m a

    termonad Termonad.Prelude

    Lifted version of atomically

  5. atomically :: MonadIO m => STM a -> m a

    universum Universum.Lifted.Concurrent

    Lifted to MonadIO version of atomically.

  6. atomically :: STM a -> IO a

    stateref Data.MRef.Instances

    Perform a series of STM actions atomically. Using atomically inside an unsafePerformIO or unsafeInterleaveIO subverts some of guarantees that STM provides. It makes it possible to run a transaction inside of another transaction, depending on when the thunk is evaluated. If a nested transaction is attempted, an exception is thrown by the runtime. It is possible to safely use atomically inside unsafePerformIO or unsafeInterleaveIO, but the typechecker does not rule out programs that may attempt nested transactions, meaning that the programmer must take special care to prevent these. However, there are functions for creating transactional variables that can always be safely called in unsafePerformIO. See: newTVarIO, newTChanIO, newBroadcastTChanIO, newTQueueIO, newTBQueueIO, and newTMVarIO. Using unsafePerformIO inside of atomically is also dangerous but for different reasons. See unsafeIOToSTM for more on this.

  7. atomically :: STM a -> IO a

    stateref Data.StateRef.Instances

    Perform a series of STM actions atomically. Using atomically inside an unsafePerformIO or unsafeInterleaveIO subverts some of guarantees that STM provides. It makes it possible to run a transaction inside of another transaction, depending on when the thunk is evaluated. If a nested transaction is attempted, an exception is thrown by the runtime. It is possible to safely use atomically inside unsafePerformIO or unsafeInterleaveIO, but the typechecker does not rule out programs that may attempt nested transactions, meaning that the programmer must take special care to prevent these. However, there are functions for creating transactional variables that can always be safely called in unsafePerformIO. See: newTVarIO, newTChanIO, newBroadcastTChanIO, newTQueueIO, newTBQueueIO, and newTMVarIO. Using unsafePerformIO inside of atomically is also dangerous but for different reasons. See unsafeIOToSTM for more on this.

  8. atomically# :: (State# RealWorld -> (# State# RealWorld, v #)) -> State# RealWorld -> (# State# RealWorld, v #)

    ghc-prim GHC.Prim

    No documentation available.

  9. atomically# :: (State# RealWorld -> (# State# RealWorld, v #)) -> State# RealWorld -> (# State# RealWorld, v #)

    ghc-prim GHC.PrimopWrappers

    No documentation available.

  10. atomically' :: MonadIO io => STM result -> io result

    nvim-hs Neovim.RPC.FunctionCall

    Lifted variant of atomically.

Page 2 of many | Previous | Next