Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
withReaderT :: forall r' r (m :: Type -> Type) a . (r' -> r) -> ReaderT r m a -> ReaderT r' m amonads-tf Control.Monad.Reader Execute a computation in a modified environment (a more general version of local).
runReaderT (withReaderT f m) = runReaderT m . f
class Monad m =>
MonadReader (m :: Type -> Type)monads-tf Control.Monad.Reader.Class See examples in Control.Monad.Reader. Note, the partially applied function type (->) r is a simple reader monad. See the instance declaration below.
ThreadFunneled :: ThreadSupportmpi-hs Control.Distributed.MPI No documentation available.
ThreadMultiple :: ThreadSupportmpi-hs Control.Distributed.MPI No documentation available.
ThreadSerialized :: ThreadSupportmpi-hs Control.Distributed.MPI No documentation available.
-
mpi-hs Control.Distributed.MPI No documentation available.
-
mpi-hs Control.Distributed.MPI Thread support levels for MPI (see initThread):
- ThreadSingle (MPI_THREAD_SINGLE): The application must be
- single-threaded
- ThreadFunneled (MPI_THREAD_FUNNELED): The application might be multi-threaded, but only a single thread will call MPI
- ThreadSerialized (MPI_THREAD_SERIALIZED): The application might be multi-threaded, but the application guarantees that only one thread at a time will call MPI
- ThreadMultiple (MPI_THREAD_MULTIPLE): The application is multi-threaded, and different threads might call MPI at the same time
initThread :: ThreadSupport -> IO ThreadSupportmpi-hs Control.Distributed.MPI Initialize the MPI library (collective, MPI_Init_thread). Note that the provided level of thread support might be less than (!) the required level.
threadSupport :: IO (Maybe ThreadSupport)mpi-hs Control.Distributed.MPI When MPI is initialized with this library, then it will remember the provided level of thread support. (This might be less than the requested level.)
unsafeRead :: PrimMonad m => NonEmptyMVector (PrimState m) a -> Int -> m anonempty-vector Data.Vector.NonEmpty.Mutable Yield the element at the given position. No bounds checks are performed.