HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.