yesod-core-1.6.26.0: Creation of type-safe, RESTful web applications.
Safe HaskellNone
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.

parseWaiRequest Source #

Arguments

:: Request 
-> SessionMap 
-> Bool 
-> Maybe Word64

max body size

-> Either (IO YesodRequest) (IO Int -> IO YesodRequest) 

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])