Safe Haskell | None |
---|---|
Language | Haskell2010 |
Implementations of the default template context functions and values. You will not normally need to import this module, unless you want to provide your own context with things that reuse functionality from the default ones.
Documentation
gfnDefault :: Monad m => Function m Source #
gfnEscaped :: Monad m => Function m Source #
gfnNEquals :: Monad m => Function m Source #
gfnGreater :: Monad m => Function m Source #
gfnLessEquals :: Monad m => Function m Source #
gfnGreaterEquals :: Monad m => Function m Source #
difference :: Num a => [a] -> a Source #
capitalize :: Text -> Text Source #
gfnMap :: (Monad m, MonadError (RuntimeError a) m) => Function m Source #
listToIndexedDict :: [a] -> [(Text, a)] Source #
gfnFileSizeFormat :: Monad m => Function m Source #
getTimeLocale :: Monad m => GVal (Run p m h) -> Run p m h TimeLocale Source #
fnReMatch :: forall (m :: Type -> Type) a p h. Monad m => (Regex -> String -> a) -> [(Maybe Text, GVal (Run p m h))] -> Run p m h a Source #
parseCompOpts :: Monad m => GVal (Run p m h) -> Run p m h CompOption Source #