Hoogle Search

Within LTS Haskell 24.16 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getenv :: (HasCallStack, MonadIO m) => [Char] -> m (Maybe [Char])

    gi-glib GI.GLib.Functions

    Returns the value of an environment variable. On UNIX, the name and value are byte strings which might or might not be in some consistent character set and encoding. On Windows, they are in UTF-8. On Windows, in case the environment variable's value contains references to other environment variables, they are expanded.

  2. getEnv :: String -> IO String

    ghc-internal GHC.Internal.System.Environment

    Computation getEnv var returns the value of the environment variable var. For the inverse, the setEnv function can be used. This computation may fail with:

  3. getEnv :: String -> IO (Maybe String)

    ghc-internal GHC.Internal.System.Environment.Blank

    Similar to lookupEnv.

  4. getEnv :: String -> Action (Maybe String)

    shake Development.Shake

    Return Just the value of the environment variable, or Nothing if the variable is not set. The environment variable is tracked as a dependency, and if it changes the rule will rerun in subsequent builds. This function is a tracked version of getEnv / lookupEnv from the base library.

    flags <- getEnv "CFLAGS"
    cmd "gcc -c" [out] (maybe [] words flags)
    

  5. getEnv :: IOEnv env env

    ghc-lib-parser GHC.Data.IOEnv

    No documentation available.

  6. getEnv :: forall (e :: Effect) (es :: [Effect]) . (HasCallStack, e :> es) => Env es -> IO (EffectRep (DispatchOf e) e)

    effectful-core Effectful.Dispatch.Static.Primitive

    Extract a specific data type from the environment.

  7. getEnv :: forall (e :: Effect) (es :: [Effect]) . (HasCallStack, e :> es) => Env es -> IO (EffectRep (DispatchOf e) e)

    effectful-core Effectful.Internal.Env

    Extract a specific data type from the environment.

  8. getenv :: Text -> Sh Text

    shelly Shelly

    Deprecated: use get_env or get_env_text

  9. getenv :: LuaError e => DocumentedFunction e

    hslua-module-system HsLua.Module.System

    Returns the value of an environment variable

  10. getEnv :: IOEnv env env

    liquidhaskell-boot Liquid.GHC.API

    No documentation available.

Page 2 of many | Previous | Next