heist-extra-0.2.0.0: Extra heist functionality
Safe HaskellSafe-Inferred
LanguageHaskell2010

Heist.Extra.Splices.Tree

Documentation

treeSplice Source #

Arguments

:: forall a sortKey. Ord sortKey 
=> (NonEmpty 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