CurryInfo: cpm-manage-3.0.0 / CPM.Package.HTML.headedTable

definition: Info
 
headedTable :: [[BaseHtml]] -> [[[BaseHtml]]] -> BaseHtml
headedTable headrow items =
  htmlStruct "table" []
    [htmlStruct "thead" [("class","thead-light")] [toRow "th" headrow],
     htmlStruct "tbody" [] (map (toRow "td") items)]
 where
  toRow ti row = hStruct "tr" (map (hStruct ti) row)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Headed table with a header row and a matrix of items.
Each item is a list of HTML expressions.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 headedTable
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [[HTML.Base.BaseHtml]] -> [[[HTML.Base.BaseHtml]]] -> HTML.Base.BaseHtml
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms