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.
-
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. stateTVar :: TVar s -> (s -> (a, s)) -> STM arebase 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.
swapTVar :: TVar a -> a -> STM arebase Rebase.Prelude Swap the contents of a TVar for a new value.
writeTVar :: TVar a -> a -> STM ()rebase Rebase.Prelude Write the supplied value into a TVar.
getVarNames :: Data a => a -> [Name]store Data.Store.TypeHash.Internal No documentation available.
optVariableWeighting :: CollatorOptions -> VariableWeightingunicode-collation Text.Collate Method for handling variable elements (see http://www.unicode.org/reports/tr10/, Tables 11 and 12).
setVariableWeighting :: VariableWeighting -> Collator -> Collatorunicode-collation Text.Collate Set method for handling variable elements (punctuation and spaces): see http://www.unicode.org/reports/tr10/, Tables 11 and 12.
-
base-prelude BasePrelude Create a new TVar holding a value supplied
-
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.
-
base-prelude BasePrelude Return the current value stored in a TVar.