Hoogle Search

Within Stackage Nightly 2026-06-30 (ghc-9.12.4)

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

  1. settings_enabledReleaseStages :: Settings -> [Text]

    bugsnag Data.Bugsnag.Settings

    Which release-stages to notify in. Only Production by default

  2. settings_ignoreException :: Settings -> Exception -> Bool

    bugsnag Data.Bugsnag.Settings

    Exception filtering Functions like notifyBugsnag will do nothing with exceptions that pass this predicate. N.B. Something lower-level, like reportError won't be aware of this.

  3. settings_onNotifyException :: Settings -> HttpException -> IO ()

    bugsnag Data.Bugsnag.Settings

    How to handle an exception reporting error events Default is to ignore.

  4. settings_releaseStage :: Settings -> Text

    bugsnag Data.Bugsnag.Settings

    The current release-stage, Production by default

  5. setBit' :: forall (w :: Nat) . NatRepr w -> Natural -> BV w -> BV w

    bv-sized Data.BitVector.Sized

    Like setBit, but without the requirement that the index bit refers to an actual bit in the input BV. If it is out of range, just silently return the original input.

  6. setDefaultExpiration :: Cache k v -> Maybe TimeSpec -> Cache k v

    cache Data.Cache

    Change the default expiration value of newly added cache items. See newCache for more information on the default expiration value.

  7. setOption :: SectionName -> OptionName -> OptionValue -> Config -> Config

    hsini Data.Ini

    Sets the value of the option, adding it if it doesn't exist.

  8. setResponse :: HttpStatusCode -> Declare (Definitions Schema) Response -> OpenApi -> OpenApi

    openapi3 Data.OpenApi.Operation

    Set response for all operations. This will also update global schema definitions. If the response already exists it will be overwritten.

    setResponse = setResponseFor allOperations
    
    Example:
    >>> let api = (mempty :: OpenApi) & paths .~ IOHM.fromList [("/user", mempty & get ?~ mempty)]
    
    >>> let res = declareResponse "application/json" (Proxy :: Proxy Day)
    
    >>> BSL.putStrLn $ encodePretty $ api & setResponse 200 res
    {
    "components": {
    "schemas": {
    "Day": {
    "example": "2016-07-22",
    "format": "date",
    "type": "string"
    }
    }
    },
    "info": {
    "title": "",
    "version": ""
    },
    "openapi": "3.0.0",
    "paths": {
    "/user": {
    "get": {
    "responses": {
    "200": {
    "content": {
    "application/json": {
    "schema": {
    "$ref": "#/components/schemas/Day"
    }
    }
    },
    "description": ""
    }
    }
    }
    }
    }
    }
    
    See also setResponseWith.

  9. setResponseFor :: Traversal' OpenApi Operation -> HttpStatusCode -> Declare (Definitions Schema) Response -> OpenApi -> OpenApi

    openapi3 Data.OpenApi.Operation

    Set response for specified operations. This will also update global schema definitions. If the response already exists it will be overwritten. See also setResponseForWith.

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

Page 67 of many | Previous | Next