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

definition: Info
 
benchInputsResultsAsTable :: (String,String) -> [(String,String)] -> String
benchInputsResultsAsTable (ilabel,rlabel) xs =
  "\\begin{tabular}{|l|" ++ concat (take (length xs) (repeat "c|")) ++ "}\n" ++
  "\\hline\n" ++
  toTableRow (ilabel : map (\ (n,_) -> n) xs) ++
  toTableRow (rlabel : map (\ (_,t) -> t) xs) ++
  "\\hline\n\\end{tabular}\n"
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Format simple benchmark results (i.e., a list of input/result pairs)
as a latex table consisting of a row for input values and a row
for result values. The first argument is a pair of labels for the
input/results rows.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({(,)},_) |-> _}
name: Info
 benchInputsResultsAsTable
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (String, String) -> [(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