yesod-core-1.6.25.0: Creation of type-safe, RESTful web applications.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Yesod.Core.Internal

Description

Exposed mostly for testing. These functions provide an unstable API and should not be relied upon.

Synopsis

Documentation

randomString :: Monad m => Int -> m Int -> m Text Source #

Generate a random String of alphanumerical characters (a-z, A-Z, and 0-9) of the given length using the given random number generator.

mkYesodGeneral Source #

Arguments

:: [[String]]

Appliction context. Used in RenderRoute, RouteAttrs, and ParseRoute instances.

-> String

foundation type

-> [String]

arguments for the type

-> Bool

is this a subsite

-> (Exp -> Q Exp)

unwrap handler

-> [ResourceTree String] 
-> Q ([Dec], [Dec])