Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. getContextMaybe :: forall context m (l :: Symbol) a . (MonadReader context m, KnownSymbol l, Typeable context, Typeable a) => Label l a -> m (Maybe a)

    sandwich Test.Sandwich.Contexts

    Try to get a context by its label. If not is in scope, returns Nothing.

  2. captureParamMaybe :: Parsable a => Text -> ActionM (Maybe a)

    scotty Web.Scotty

    Synonym for pathParamMaybe Since: 0.21

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

  4. pathParamMaybe :: Parsable a => Text -> ActionM (Maybe a)

    scotty Web.Scotty

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

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

    scotty Web.Scotty

    Look up a query 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. captureParamMaybe :: forall a (m :: Type -> Type) . (Parsable a, Monad m) => Text -> ActionT m (Maybe a)

    scotty Web.Scotty.Trans

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

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

  8. pathParamMaybe :: forall a (m :: Type -> Type) . (Parsable a, Monad m) => Text -> ActionT m (Maybe a)

    scotty Web.Scotty.Trans

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

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

    scotty Web.Scotty.Trans

    Look up a query 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. captureParamMaybe :: forall a (m :: Type -> Type) . (Parsable a, Monad m) => Text -> ActionT m (Maybe a)

    scotty Web.Scotty.Trans.Strict

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

Page 174 of many | Previous | Next