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.

  1. qReadFileLazyText :: FilePath -> Q Text

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

  2. qReadFileString :: FilePath -> Q String

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

  3. qReadFileText :: FilePath -> Q Text

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

  4. package thread-utils-context

    Garbage-collected thread local storage Please see the README on GitHub at https://github.com/iand675/thread-utils-context#readme

  5. data ThreadStorageMap a

    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.

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

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

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

  9. getThreadId :: ThreadId -> Word

    thread-utils-context Control.Concurrent.Thread.Storage

    No documentation available.

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

Page 732 of many | Previous | Next