Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setRecordField :: Record rec => Field rec ty -> ty -> rec -> recprairie Prairie.Class Use a Field to set the corresponding value in the record.
setNumPrimecountThreads :: Int -> IO ()primecount Math.NumberTheory.Prime.Count Set the number of threads used by libprimecount. If the input is not positive, the thread count is set to 1. If the input is greater than the number of CPUs available, the thread count is set to the number of CPUs available.
setSpecific :: Key -> Ptr a -> IO ()pthread System.Posix.Thread Associate a thread-specific value with a key obtained via a previous call to createKey.
-
rawfilepath RawFilePath Control how the standard error of the process will be initialized.
-
rawfilepath RawFilePath Control how the standard input of the process will be initialized.
-
rawfilepath RawFilePath Control how the standard output of the process will be initialized.
-
rawfilepath RawFilePath.Process Control how the standard error of the process will be initialized.
-
rawfilepath RawFilePath.Process Control how the standard input of the process will be initialized.
-
rawfilepath RawFilePath.Process Control how the standard output of the process will be initialized.
setEnv :: String -> String -> IO ()read-env-var System.ReadEnvVar setEnv name value sets the specified environment variable to value. Early versions of this function operated under the mistaken belief that setting an environment variable to the empty string on Windows removes that environment variable from the environment. For the sake of compatibility, it adopted that behavior on POSIX. In particular
setEnv name ""
has the same effect asunsetEnv name
If you'd like to be able to set environment variables to blank strings, use setEnv. Throws IOException if name is the empty string or contains an equals sign. Beware that this function must not be executed concurrently with getEnv, lookupEnv, getEnvironment and such. One thread reading environment variables at the same time with another one modifying them can result in a segfault, see Setenv is not Thread Safe for discussion.