Hoogle Search

Within LTS Haskell 24.25 (ghc-9.10.3)

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

  1. readTVarIO :: TVar a -> IO a

    rebase Rebase.Prelude

    Return the current value stored in a TVar. This is equivalent to

    readTVarIO = atomically . readTVar
    
    but works much faster, because it doesn't perform a complete transaction, it just reads the current value of the TVar.

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

    rebase Rebase.Prelude

    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.

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

    rebase Rebase.Prelude

    Swap the contents of a TVar for a new value.

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

    rebase Rebase.Prelude

    Write the supplied value into a TVar.

  5. getVarNames :: Data a => a -> [Name]

    store Data.Store.TypeHash.Internal

    No documentation available.

  6. optVariableWeighting :: CollatorOptions -> VariableWeighting

    unicode-collation Text.Collate

    Method for handling variable elements (see http://www.unicode.org/reports/tr10/, Tables 11 and 12).

  7. setVariableWeighting :: VariableWeighting -> Collator -> Collator

    unicode-collation Text.Collate

    Set method for handling variable elements (punctuation and spaces): see http://www.unicode.org/reports/tr10/, Tables 11 and 12.

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

    base-prelude BasePrelude

    Create a new TVar holding a value supplied

  9. newTVarIO :: a -> IO (TVar a)

    base-prelude BasePrelude

    IO version of newTVar. This is useful for creating top-level TVars using unsafePerformIO, because using atomically inside unsafePerformIO isn't possible.

  10. readTVar :: TVar a -> STM a

    base-prelude BasePrelude

    Return the current value stored in a TVar.

Page 39 of many | Previous | Next