definition: |
showERD :: Int -> ERD -> String showERD n (ERD en es rs) = "ERD " ++ showString en ++ lb n ++ " [" ++ concat (intersperse ("," ++ lb (n+2)) (map (showEs (n+2)) es)) ++ "]" ++ lb n ++ " [" ++ concat (intersperse ("," ++ lb (n+2)) (map (showRs (n+2)) rs)) ++ "]" |
demand: |
argument 2 |
deterministic: |
deterministic operation |
documentation: |
--- A simple pretty printer for ERDs. |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,{ERD}) |-> _} |
name: |
showERD |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Prelude.Int -> Database.ERD.ERD -> String |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |