Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
List partial functions. Import as:
import qualified RIO.List.Partial as L'
-
Strict Map partial functions. Import as:
import qualified RIO.Map.Partial as Map'
-
NonEmpty list partial functions. Import as:
import qualified RIO.NonEmpty.Partial as NE'
-
Partial functions. Import as:
import qualified RIO.Partial as RIO'
-
No documentation available.
class Monad m =>
PrimMonad (m :: Type -> Type)rio RIO.Prelude.Types Class of monads which can perform primitive state-transformer actions.
-
rio RIO.Prelude.Types Proxy is a type that holds no data, but has a phantom parameter of arbitrary type (or even kind). Its use is to provide type information, even though there is no value available of that type (or it may be too costly to create one). Historically, Proxy :: Proxy a is a safer alternative to the undefined :: a idiom.
>>> Proxy :: Proxy (Void, Int -> Int) Proxy
Proxy can even hold types of higher kinds,>>> Proxy :: Proxy Either Proxy
>>> Proxy :: Proxy Functor Proxy
>>> Proxy :: Proxy complicatedStructure Proxy
-
rio RIO.Prelude.Types No documentation available.
-
Interacting with external processes. This module provides a layer on top of System.Process.Typed, with the following additions:
- For efficiency, it will cache PATH lookups.
- For convenience, you can set the working directory and env vars overrides in a RIO environment instead of on the individual calls to the process.
- Built-in support for logging at the debug level.
- Like most of the rio library, you need to create an environment value (this time ProcessContext), and include it in your RIO environment. See mkProcessContext.
- Instead of using the proc function from System.Process.Typed for creating a ProcessConfig, use the locally defined proc function, which will handle overriding environment variables, looking up paths, performing logging, etc.
PathsInvalidInPath :: [FilePath] -> ProcessExceptionrio RIO.Process No documentation available.