heist-extra-0.4.0.0: Extra heist functionality
Safe HaskellNone
LanguageHaskell2010

Heist.Extra.Splices.Tree

Documentation

treeSplice Source #

Arguments

:: forall a sortKey. Ord sortKey 
=> (NonEmpty a -> [Tree a] -> sortKey)

How to sort children

-> [Tree a]

Input tree

-> (NonEmpty a -> [Tree a] -> Splices (Splice Identity))

How to render a (sub-)tree root

-> Splice Identity