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

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Moduleth-env-0.1.1Haskell2010

Language.Haskell.TH.Env

  • 2 values
  • Packageth-env-0.1.1
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceEnv.hs
valueenvQ
  1. :: IsString a
  2. => String

    Environment variable name.

  3. -> SpliceQ (Maybe a)
#

Produce a typed expression with the current value of an environment variable, or Nothing if it's not set.

valueenvQ'
  1. :: IsString a
  2. => String

    Environment variable name.

  3. -> SpliceQ a
#

Produce a typed expression with the current value of an environment variable. Fail if it's not set.