HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduleth-env-0.1.1Haskell2010

Language.Haskell.TH.Env

Synopsis
  • 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.