Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

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

  1. formatCode :: Attr -> Inlines -> Inlines

    pandoc Text.Pandoc.Shared

    Reformat Inlines as code, putting the stringlike parts in Code elements while bringing other inline formatting outside. The idea is that e.g. `[Str "a",Space,Strong [Str "b"]]` should turn into `[Code ("",[],[]) "a ", Strong [Code ("",[],[]) "b"]]`. This helps work around the limitation that pandoc's Code element can only contain string content (see issue #7525).

  2. formatNominalDiffTime :: NominalDiffTime -> String

    sandwich Test.Sandwich.Internal

    No documentation available.

  3. formatterName :: Formatter f => f -> String

    sandwich Test.Sandwich.Options

    Name of the formatter

  4. formParam :: Parsable a => Text -> ActionM a

    scotty Web.Scotty

    Get a form parameter.

    • Raises an exception which can be caught by catch if parameter is not found. If the exception is not caught, scotty will return a HTTP error code 400 ("Bad Request") to the client.
    • This function raises a code 400 also if the parameter is found, but parseParam fails to parse to the correct type.
    Since: 0.20

  5. formParamMaybe :: Parsable a => Text -> ActionM (Maybe a)

    scotty Web.Scotty

    Look up a form parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21

  6. formParams :: ActionM [Param]

    scotty Web.Scotty

    Get form parameters

  7. formParamsAndFilesWith :: forall (m :: Type -> Type) . MonadUnliftIO m => InternalState -> ParseRequestBodyOptions -> ActionT m ([Param], [File FilePath])

    scotty Web.Scotty.Internal.Types

    No documentation available.

  8. formParam :: forall (m :: Type -> Type) b . (MonadUnliftIO m, Parsable b) => Text -> ActionT m b

    scotty Web.Scotty.Trans

    Look up a form parameter.

    • Raises an exception which can be caught by catch if parameter is not found. If the exception is not caught, scotty will return a HTTP error code 400 ("Bad Request") to the client.
    • This function raises a code 400 also if the parameter is found, but parseParam fails to parse to the correct type.
    Since: 0.20

  9. formParamMaybe :: forall (m :: Type -> Type) a . (MonadUnliftIO m, Parsable a) => Text -> ActionT m (Maybe a)

    scotty Web.Scotty.Trans

    Look up a form parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21

  10. formParams :: forall (m :: Type -> Type) . MonadUnliftIO m => ActionT m [Param]

    scotty Web.Scotty.Trans

    Get form parameters

Page 57 of many | Previous | Next