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.

  1. setRecordField :: Record rec => Field rec ty -> ty -> rec -> rec

    prairie Prairie.Class

    Use a Field to set the corresponding value in the record.

  2. 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.

  3. setSpecific :: Key -> Ptr a -> IO ()

    pthread System.Posix.Thread

    Associate a thread-specific value with a key obtained via a previous call to createKey.

  4. setStderr :: StreamType newStderr => ProcessConf stdin stdout oldStderr -> newStderr -> ProcessConf stdin stdout newStderr

    rawfilepath RawFilePath

    Control how the standard error of the process will be initialized.

  5. setStdin :: StreamType newStdin => ProcessConf oldStdin stdout stderr -> newStdin -> ProcessConf newStdin stdout stderr

    rawfilepath RawFilePath

    Control how the standard input of the process will be initialized.

  6. setStdout :: StreamType newStdout => ProcessConf stdin oldStdout stderr -> newStdout -> ProcessConf stdin newStdout stderr

    rawfilepath RawFilePath

    Control how the standard output of the process will be initialized.

  7. setStderr :: StreamType newStderr => ProcessConf stdin stdout oldStderr -> newStderr -> ProcessConf stdin stdout newStderr

    rawfilepath RawFilePath.Process

    Control how the standard error of the process will be initialized.

  8. setStdin :: StreamType newStdin => ProcessConf oldStdin stdout stderr -> newStdin -> ProcessConf newStdin stdout stderr

    rawfilepath RawFilePath.Process

    Control how the standard input of the process will be initialized.

  9. setStdout :: StreamType newStdout => ProcessConf stdin oldStdout stderr -> newStdout -> ProcessConf stdin newStdout stderr

    rawfilepath RawFilePath.Process

    Control how the standard output of the process will be initialized.

  10. 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 as
    unsetEnv 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.

Page 833 of many | Previous | Next