Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. setUncaughtExceptionHandler :: (SomeException -> IO ()) -> IO ()

    base GHC.Conc

    No documentation available.

  2. setHandler :: Signal -> Maybe (HandlerFun, Dynamic) -> IO (Maybe (HandlerFun, Dynamic))

    base GHC.Conc.Signal

    No documentation available.

  3. setAllocationCounter :: Int64 -> IO ()

    base GHC.Conc.Sync

    Every thread has an allocation counter that tracks how much memory has been allocated by the thread. The counter is initialized to zero, and setAllocationCounter sets the current value. The allocation counter counts *down*, so in the absence of a call to setAllocationCounter its value is the negation of the number of bytes of memory allocated by the thread. There are two things that you can do with this counter:

    Allocation accounting is accurate only to about 4Kbytes.

  4. setNumCapabilities :: Int -> IO ()

    base GHC.Conc.Sync

    Set the number of Haskell threads that can run truly simultaneously (on separate physical processors) at any given time. The number passed to forkOn is interpreted modulo this value. The initial value is given by the +RTS -N runtime flag. This is also the number of threads that will participate in parallel garbage collection. It is strongly recommended that the number of capabilities is not set larger than the number of physical processor cores, and it may often be beneficial to leave one or more cores free to avoid contention with other processes in the machine.

  5. setUncaughtExceptionHandler :: (SomeException -> IO ()) -> IO ()

    base GHC.Conc.Sync

    No documentation available.

  6. setAddrRange# :: Addr# -> Int# -> Int# -> State# RealWorld -> State# RealWorld

    base GHC.Exts

    setAddrRange# dest len c sets all of the bytes in [dest, dest+len) to the value c. Analogous to the standard C function memset, but with a different argument order. Warning: this can fail with an unchecked exception.

  7. setByteArray# :: MutableByteArray# d -> Int# -> Int# -> Int# -> State# d -> State# d

    base GHC.Exts

    setByteArray# ba off len c sets the byte range [off, off+len) of the MutableByteArray# to the byte c. Warning: this can fail with an unchecked exception.

  8. setThreadAllocationCounter# :: Int64# -> State# RealWorld -> State# RealWorld

    base GHC.Exts

    Sets the allocation counter for the current thread to the given value.

  9. setEcho :: IODevice a => a -> Bool -> IO ()

    base GHC.IO.Device

    for terminal devices, changes whether characters are echoed on the device.

  10. setRaw :: IODevice a => a -> Bool -> IO ()

    base GHC.IO.Device

    some devices (e.g. terminals) support a "raw" mode where characters entered are immediately made available to the program. If available, this operation enables raw mode.

Page 127 of many | Previous | Next