Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. class HasFormat s a | s -> a

    swagger2 Data.Swagger.Lens

    No documentation available.

  2. addExtensionsFor :: Traversal' Swagger Operation -> (Value -> Value -> Value) -> InsOrdHashMap Text Value -> Swagger -> Swagger

    swagger2 Data.Swagger.Operation

    No documentation available.

  3. applyTagsFor :: Traversal' Swagger Operation -> [Tag] -> Swagger -> Swagger

    swagger2 Data.Swagger.Operation

    Apply tags to a part of Swagger spec and update the global list of tags.

  4. setResponseFor :: Traversal' Swagger Operation -> HttpStatusCode -> Declare (Definitions Schema) Response -> Swagger -> Swagger

    swagger2 Data.Swagger.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.

  5. setResponseForWith :: Traversal' Swagger Operation -> (Response -> Response -> Response) -> HttpStatusCode -> Declare (Definitions Schema) Response -> Swagger -> Swagger

    swagger2 Data.Swagger.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.

  6. performRequest :: Request -> WaiSession st (Response ByteString)

    sydtest-wai Test.Syd.Wai

    Perform a bare Request. You can use this to make a request to an application other than the one under test. This function does not set the host and port of the request like request does, but it does share a CookieJar.

  7. performRequest :: Request -> WaiSession st (Response ByteString)

    sydtest-wai Test.Syd.Wai.Request

    Perform a bare Request. You can use this to make a request to an application other than the one under test. This function does not set the host and port of the request like request does, but it does share a CookieJar.

  8. focusedFormInputAttr :: AttrName

    brick Brick.Forms

    The attribute for form input fields that have the focus. Note that this attribute only affects fields that do not already use their own attributes when rendering, such as editor- and list-based fields. Those need to be styled by setting the appropriate attributes; see the documentation for field constructors to find out which attributes need to be configured.

  9. handleFormEvent :: Eq n => BrickEvent n e -> EventM n (Form s e n) ()

    brick Brick.Forms

    Dispatch an event to the currently focused form field. This handles the following events in this order:

    • On Tab keypresses, this changes the focus to the next field in the form.
    • On Shift-Tab keypresses, this changes the focus to the previous field in the form.
    • On mouse button presses (regardless of button or modifier), the focus is changed to the clicked form field and the event is forwarded to the event handler for the clicked form field.
    • On Left or Up, if the currently-focused field is part of a collection (e.g. radio buttons), the previous entry in the collection is focused.
    • On Right or Down, if the currently-focused field is part of a collection (e.g. radio buttons), the next entry in the collection is focused.
    • All other events are forwarded to the currently focused form field.
    In all cases where an event is forwarded to a form field, validation of the field's input state is performed immediately after the event has been handled. If the form field's input state succeeds validation using the field's validator function, its value is immediately stored in the form state using the form field's state lens. The external validation flag is ignored during this step to ensure that external validators have a chance to get the intermediate validated value.

  10. invalidFormInputAttr :: AttrName

    brick Brick.Forms

    The attribute for form input fields with invalid values. Note that this attribute will affect any field considered invalid and will take priority over any attributes that the field uses to render itself.

Page 662 of many | Previous | Next