definition: |
addWordP :: Para -> Word -> Para addWordP (Para pw (Block fl l)) w | wordFits pw w l = Para pw (Block fl (addWordL w l)) | otherwise = Para pw (Block (l:fl) (startLine w)) |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Adds a word to a paragraph. |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({Para},_) |-> {Para}} |
name: |
addWordP |
precedence: |
no precedence defined |
result-values: |
{Para} |
signature: |
Para -> Word -> Para |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
possibly non-reducible on same data term |