HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleghc-toolchain-0.1.0.0Haskell2010

GHC.Toolchain.Monad

  • 2 types
  • 14 values
newtypenewtype M a
#
Instances5Monad, Functor, Applicative, Alternative, MonadIO
  • Monad MDefined in ghc-toolchain-0.1.0.0 · GHC.Toolchain.Monad
  • Functor MDefined in ghc-toolchain-0.1.0.0 · GHC.Toolchain.Monad
  • Applicative MDefined in ghc-toolchain-0.1.0.0 · GHC.Toolchain.Monad
  • Alternative MDefined in ghc-toolchain-0.1.0.0 · GHC.Toolchain.Monad
  • MonadIO MDefined in ghc-toolchain-0.1.0.0 · GHC.Toolchain.Monad
valuethrowEs :: [String] -> M a
#

Throw an error with multiple lines. This should be used rather than `throwE . unlines` to preserve proper logging indentation.

valueifCrossCompiling
  1. :: M a

    what to do when cross-compiling

  2. -> M a

    what to do otherwise

  3. -> M a
#

Branch on whether we can execute target code locally.

File I/O

4 declarations

Logging

4 declarations