Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
qReadFileLazyText :: FilePath -> Q Textth-utilities TH.RelativePaths Reads a file as a lazy Text. The path is specified relative to the package's root directory, and addDependentfile is invoked on the target file.
qReadFileString :: FilePath -> Q Stringth-utilities TH.RelativePaths Reads a file as a String. The path is specified relative to the package's root directory, and addDependentfile is invoked on the target file.
qReadFileText :: FilePath -> Q Textth-utilities TH.RelativePaths Reads a file as a strict Text. The path is specified relative to the package's root directory, and addDependentfile is invoked on the target file.
-
Garbage-collected thread local storage Please see the README on GitHub at https://github.com/iand675/thread-utils-context#readme
-
thread-utils-context Control.Concurrent.Thread.Storage A storage mechanism for values of a type. This structure retains items on per-(green)thread basis, which can be useful in rare cases.
adjustOnThread :: MonadIO m => ThreadStorageMap a -> ThreadId -> (a -> a) -> m ()thread-utils-context Control.Concurrent.Thread.Storage Update the associated value for the specified thread if it is attached.
attachOnThread :: MonadIO m => ThreadStorageMap a -> ThreadId -> a -> m (Maybe a)thread-utils-context Control.Concurrent.Thread.Storage Associate the provided value with the specified thread. This replaces any values already associated with the ThreadId.
detachFromThread :: MonadIO m => ThreadStorageMap a -> ThreadId -> m (Maybe a)thread-utils-context Control.Concurrent.Thread.Storage Disassociate the associated value from the specified thread, returning it if it exists.
getThreadId :: ThreadId -> Wordthread-utils-context Control.Concurrent.Thread.Storage No documentation available.
lookupOnThread :: MonadIO m => ThreadStorageMap a -> ThreadId -> m (Maybe a)thread-utils-context Control.Concurrent.Thread.Storage Retrieve a value if it exists for the specified thread