Safe Haskell | None |
---|---|
Language | Haskell98 |
- ifISplice :: Monad m => Bool -> Splice m
- ifCSplice :: Monad m => (t -> Bool) -> RuntimeSplice m t -> Splice m
- ifElseISplice :: Monad m => Bool -> Splice m
- ifElseCSplice :: Monad m => Bool -> Splice m
- module Heist.Splices.Apply
- module Heist.Splices.Bind
- module Heist.Splices.Cache
- module Heist.Splices.Html
- module Heist.Splices.Ignore
- module Heist.Splices.Markdown
Documentation
ifISplice :: Monad m => Bool -> Splice m Source #
Run the splice contents if given condition is True, make splice disappear if not.
ifCSplice :: Monad m => (t -> Bool) -> RuntimeSplice m t -> Splice m Source #
Function for constructing if splices that use a runtime predicate function to determine whether the node's children should be rendered.
ifElseISplice :: Monad m => Bool -> Splice m Source #
Implements an ifthenelse conditional splice. It splits its children around the else/ element to get the markup to be used for the two cases.
ifElseCSplice :: Monad m => Bool -> Splice m Source #
Implements an ifthenelse conditional splice. It splits its children around the else/ element to get the markup to be used for the two cases.
module Heist.Splices.Apply
module Heist.Splices.Bind
module Heist.Splices.Cache
module Heist.Splices.Html
module Heist.Splices.Ignore
module Heist.Splices.Markdown