definition:
|
wListWithHeadings :: Eq a => [String] -> WuiSpec a -> WuiSpec [a]
wListWithHeadings headings wspec =
wList wspec `withRendering` renderHeadings
where
renderHeadings hs = addHeadings (renderList hs) (map (\s->[htxt s]) headings)
|
demand:
|
argument 3
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Add headings to a standard WUI for list structures:
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_) |-> {WuiSpec}}
|
name:
|
wListWithHeadings
|
precedence:
|
no precedence defined
|
result-values:
|
{WuiSpec}
|
signature:
|
Prelude.Eq a => [String] -> WuiSpec a -> WuiSpec [a]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
possibly non-reducible on same data term
|