Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

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

  1. provideRepType :: (Monad m, ToContent a) => ContentType -> m a -> Writer (Endo [ProvidedRep m]) ()

    yesod-core Yesod.Core.Handler

    Same as provideRep, but instead of determining the content type from the type of the value itself, you provide the content type separately. This can be a convenience instead of creating newtype wrappers for uncommonly used content types.

    provideRepType "application/x-special-format" "This is the content"
    

  2. provideJson :: forall (m :: Type -> Type) a . (Monad m, ToJSON a) => a -> Writer (Endo [ProvidedRep m]) ()

    yesod-core Yesod.Core.Json

    Provide a JSON representation for usage with selectReps, using aeson's toJSON (aeson >= 0.11: toEncoding) function to perform the conversion.

  3. InvalidArgs :: [Text] -> ErrorResponse

    yesod-core Yesod.Core.Types

    Indicates some sort of invalid or missing argument, like a missing query parameter or malformed JSON body. Examples Yesod functions that send this include requireCheckJsonBody and Yesod.Auth.GoogleEmail2. HTTP status: 400.

  4. data WidgetData site

    yesod-core Yesod.Core.Types

    No documentation available.

  5. WidgetData :: {-# UNPACK #-} !IORef (GWData (Route site)) -> {-# UNPACK #-} !HandlerData site site -> WidgetData site

    yesod-core Yesod.Core.Types

    No documentation available.

  6. newtype WidgetFor site a

    yesod-core Yesod.Core.Types

    A generic widget, allowing specification of both the subsite and master site datatypes. While this is simply a WriterT, we define a newtype for better error messages.

  7. WidgetFor :: (WidgetData site -> IO a) -> WidgetFor site a

    yesod-core Yesod.Core.Types

    No documentation available.

  8. ghsIdent :: GHState -> !Int

    yesod-core Yesod.Core.Types

    No documentation available.

  9. tellWidget :: GWData (Route site) -> WidgetFor site ()

    yesod-core Yesod.Core.Types

    No documentation available.

  10. unWidgetFor :: WidgetFor site a -> WidgetData site -> IO a

    yesod-core Yesod.Core.Types

    No documentation available.

Page 628 of many | Previous | Next