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. setResponseForWith :: Traversal' OpenApi Operation -> (Response -> Response -> Response) -> HttpStatusCode -> Declare (Definitions Schema) Response -> OpenApi -> OpenApi

    openapi3 Data.OpenApi.Operation

    Set or update response for specified operations. This will also update global schema definitions. If the response already exists, but it can't be dereferenced (invalid $ref), then just the new response is used. See also setResponseFor.

  2. setResponseWith :: (Response -> Response -> Response) -> HttpStatusCode -> Declare (Definitions Schema) Response -> OpenApi -> OpenApi

    openapi3 Data.OpenApi.Operation

    Set or update response for all operations. This will also update global schema definitions. If the response already exists, but it can't be dereferenced (invalid $ref), then just the new response is used.

    setResponseWith = setResponseForWith allOperations
    
    See also setResponse.

  3. setUnliftedArray :: (PrimMonad m, PrimUnlifted a) => MutableUnliftedArray (PrimState m) a -> a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.Array

    No documentation available.

  4. setUnliftedArray :: PrimUnlifted a => MutableUnliftedArray s a -> a -> Int -> Int -> ST s ()

    primitive-unlifted Data.Primitive.Unlifted.Array.ST

    No documentation available.

  5. setSmallUnliftedArray :: (PrimMonad m, PrimUnlifted a) => SmallMutableUnliftedArray (PrimState m) a -> a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

  6. setSmallUnliftedArray :: PrimUnlifted a => SmallMutableUnliftedArray s a -> a -> Int -> Int -> ST s ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray.ST

    No documentation available.

  7. setBit :: Bits a => a -> Int -> a

    protolude Protolude

    x `setBit` i is the same as x .|. bit i

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

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

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

    snap-server Snap.Http.Server.Config

    No documentation available.

Page 342 of many | Previous | Next