Hoogle Search

Within LTS Haskell 19.12 (ghc-9.0.2)

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

  1. mkYesod :: String -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    Generates URL datatype and site function for the given Resources. This is used for creating sites, not subsites. See mkYesodSubData and mkYesodSubDispatch for the latter. Use parseRoutes to create the Resources. Contexts and type variables in the name of the datatype are parsed. For example, a datatype App a with typeclass constraint MyClass a can be written as "(MyClass a) => App a".

  2. mkYesod :: String -> [ResourceTree String] -> Q [Dec]

    hledger-web Hledger.Web.Import

    Generates URL datatype and site function for the given Resources. This is used for creating sites, not subsites. See mkYesodSubData and mkYesodSubDispatch for the latter. Use parseRoutes to create the Resources. Contexts and type variables in the name of the datatype are parsed. For example, a datatype App a with typeclass constraint MyClass a can be written as "(MyClass a) => App a".

  3. mkYesod :: String -> [ResourceTree String] -> Q [Dec]

    classy-prelude-yesod ClassyPrelude.Yesod

    Generates URL datatype and site function for the given Resources. This is used for creating sites, not subsites. See mkYesodSubData and mkYesodSubDispatch for the latter. Use parseRoutes to create the Resources. Contexts and type variables in the name of the datatype are parsed. For example, a datatype App a with typeclass constraint MyClass a can be written as "(MyClass a) => App a".

  4. mkYesodData :: String -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    Sometimes, you will want to declare your routes in one file and define your handlers elsewhere. For example, this is the only way to break up a monolithic file into smaller parts. Use this function, paired with mkYesodDispatch, to do just that.

  5. mkYesodDispatch :: String -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    See mkYesodData.

  6. mkYesodSubData :: String -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    No documentation available.

  7. mkYesodSubDispatch :: [ResourceTree a] -> Q Exp

    yesod-core Yesod.Core.Dispatch

    No documentation available.

  8. mkYesodWith :: [[String]] -> String -> [String] -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    Deprecated: Contexts and type variables are now parsed from the name in mkYesod. https://github.com/yesodweb/yesod/pull/1366

  9. mkYesodGeneral :: [[String]] -> String -> [String] -> Bool -> (Exp -> Q Exp) -> [ResourceTree String] -> Q ([Dec], [Dec])

    yesod-core Yesod.Core.Internal

    No documentation available.

  10. mkYesodData :: String -> [ResourceTree String] -> Q [Dec]

    hledger-web Hledger.Web.Import

    Sometimes, you will want to declare your routes in one file and define your handlers elsewhere. For example, this is the only way to break up a monolithic file into smaller parts. Use this function, paired with mkYesodDispatch, to do just that.

Page 1 of 2 | Next