|
definition: |
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: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
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: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({(,)},_) |-> _}
|
|
name: |
benchInputsResultsAsTable |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
(String, String) -> [(String, String)] -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |