| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Heist.Splices.Apply
Synopsis
- applyTag :: Text
- applyAttr :: Text
- rawApply :: forall (n :: Type -> Type). Monad n => Text -> [Node] -> Maybe FilePath -> TPath -> [Node] -> Splice n
- applyNodes :: forall (n :: Type -> Type). Monad n => Template -> Text -> Splice n
- applyImpl :: forall (n :: Type -> Type). Monad n => Splice n
- deprecatedContentCheck :: forall (m :: Type -> Type). Monad m => Splice m
Documentation
rawApply :: forall (n :: Type -> Type). Monad n => Text -> [Node] -> Maybe FilePath -> TPath -> [Node] -> Splice n Source #
applyNodes :: forall (n :: Type -> Type). Monad n => Template -> Text -> Splice n Source #
Applies a template as if the supplied nodes were the children of the apply tag.
applyImpl :: forall (n :: Type -> Type). Monad n => Splice n Source #
Implementation of the apply splice.
deprecatedContentCheck :: forall (m :: Type -> Type). Monad m => Splice m Source #
This splice crashes with an error message. Its purpose is to provide a load-time warning to anyone still using the old content tag in their templates. In Heist 0.10, tho content tag was replaced by two separate apply-content and bind-content tags used by the apply and bind splices respectively.