Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. parallelBranch1 :: Parallel (m :: Type -> Type) (state :: (Type -> Type) -> Type) -> [Action m state]

    hedgehog Hedgehog.Internal.State

    The first branch.

  2. parallelBranch2 :: Parallel (m :: Type -> Type) (state :: (Type -> Type) -> Type) -> [Action m state]

    hedgehog Hedgehog.Internal.State

    The second branch.

  3. parallelPrefix :: Parallel (m :: Type -> Type) (state :: (Type -> Type) -> Type) -> [Action m state]

    hedgehog Hedgehog.Internal.State

    The sequential prefix.

  4. WallTime :: TimeMode

    tasty-bench Test.Tasty.Bench

    Measure wall-clock time.

  5. Shallow :: FusionDepth

    prettyprinter Prettyprinter

    Do not dive deep into nested documents, fusing mostly concatenations of text nodes together.

  6. Shallow :: FusionDepth

    prettyprinter Prettyprinter.Internal

    Do not dive deep into nested documents, fusing mostly concatenations of text nodes together.

  7. skipAll :: ByteArray byteArray => Parser byteArray ()

    memory Data.ByteArray.Parse

    Skip all the remaining bytes from the current position in the stream

  8. takeAll :: ByteArray byteArray => Parser byteArray byteArray

    memory Data.ByteArray.Parse

    Take the remaining bytes from the current position in the stream

  9. setInstallShutdownHandler :: (IO () -> IO ()) -> Settings -> Settings

    warp Network.Wai.Handler.Warp

    A code to install shutdown handler. For instance, this code should set up a UNIX signal handler. The handler should call the first argument, which closes the listen socket, at shutdown. Example usage:

    settings :: IO () -> Settings
    settings shutdownAction = setInstallShutdownHandler shutdownHandler defaultSettings
    where
    shutdownHandler closeSocket =
    void $ installHandler sigTERM (Catch $ shutdownAction >> closeSocket) Nothing
    
    Note that by default, the graceful shutdown mode lasts indefinitely (see setGracefulShutdownTimeout). If you install a signal handler as above, upon receiving that signal, the custom shutdown action will run and all outstanding requests will be handled. You may instead prefer to do one or both of the following:
    • Only wait a finite amount of time for outstanding requests to complete, using setGracefulShutdownTimeout.
    • Only catch one signal, so the second hard-kills the Warp server, using CatchOnce.
    Default: does not install any code. Since 3.0.1

  10. connSendAll :: Connection -> ByteString -> IO ()

    warp Network.Wai.Handler.Warp.Internal

    The sending function.

Page 224 of many | Previous | Next