HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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.