Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Shuttle parsed form data to Ginger's dynamically-typed datamodel.
Synopsis
- template :: Monad m => String -> Form -> Int -> Input -> Query -> m (Maybe (Either Query Text))
- template' :: Monad m => String -> Form -> Int -> Input -> Query -> (Text -> GVal (Run SourcePos (Writer Html) Html)) -> m (Maybe (Either Query Text))
- resolveSource :: FilePath -> Maybe (Maybe [Char])
- list' :: [GVal m] -> GVal m
Documentation
template :: Monad m => String -> Form -> Int -> Input -> Query -> m (Maybe (Either Query Text)) Source #
Run the given template with the given Bureaucromancy data.
template' :: Monad m => String -> Form -> Int -> Input -> Query -> (Text -> GVal (Run SourcePos (Writer Html) Html)) -> m (Maybe (Either Query Text)) Source #
Run the given template with the given Bureaucromancy & Ginger data.