definition: |
showWidth :: Width -> Doc -> String showWidth w d = noGroup (doc2Tokens d) w 1 w [0] [] |
demand: |
argument 2 |
deterministic: |
deterministic operation |
documentation: |
`(showWidth w d)` pretty prints document `d` with a page width of `w` characters @param w - width of page @param d - a document @return pretty printed document |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
showWidth |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Prelude.Int -> Doc -> String |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |