Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. setNumCapabilities :: Int -> IO ()

    protolude Protolude

    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.

  2. setUnicodeLocale :: String -> IO ()

    snap-server Snap.Http.Server

    Given a string like "en_US", this sets the locale to "en_US.UTF-8". This doesn't work on Windows.

  3. setAccessLog :: forall (m :: Type -> Type) a . ConfigLog -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  4. setBind :: forall (m :: Type -> Type) a . ByteString -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  5. setCompression :: forall (m :: Type -> Type) a . Bool -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  6. setDefaultTimeout :: forall (m :: Type -> Type) a . Int -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  7. setErrorHandler :: (SomeException -> m ()) -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  8. setErrorLog :: forall (m :: Type -> Type) a . ConfigLog -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  9. setHostname :: forall (m :: Type -> Type) a . ByteString -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

  10. setLocale :: forall (m :: Type -> Type) a . String -> Config m a -> Config m a

    snap-server Snap.Http.Server.Config

    No documentation available.

Page 343 of many | Previous | Next