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.
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.
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.
setAccessLog :: forall (m :: Type -> Type) a . ConfigLog -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setBind :: forall (m :: Type -> Type) a . ByteString -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setCompression :: forall (m :: Type -> Type) a . Bool -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setDefaultTimeout :: forall (m :: Type -> Type) a . Int -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setErrorHandler :: (SomeException -> m ()) -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setErrorLog :: forall (m :: Type -> Type) a . ConfigLog -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setHostname :: forall (m :: Type -> Type) a . ByteString -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.
setLocale :: forall (m :: Type -> Type) a . String -> Config m a -> Config m asnap-server Snap.Http.Server.Config No documentation available.