CurryInfo: benchmark-papers-3.0.0 / Test.Benchmark.Goodies.benchResultsAsTable

definition: Info
 
benchResultsAsTable :: [String] -> [[String]] -> String
benchResultsAsTable colnames xs =
  "\\begin{tabular}{|" ++ concat (take (length colnames) (repeat "r|")) ++ "}\n" ++
  "\\hline\n" ++
  toTableRow colnames ++
  "\\hline\n" ++
  concatMap toTableRow xs ++
  "\\hline\n\\end{tabular}\n"
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Format benchmark results as a LaTeX table.
The results are given as a table, i.e., as a list of rows.
The first argument is the list of column labels for the
benchmark data (second argument).
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 benchResultsAsTable
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [String] -> [[String]] -> String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms