|
definition: |
fromInt :: Int -> Roman fromInt i | 1 <= i && i < 4000 = foldr1 Plus (base i [M,C,X,I]) |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Converts integers to roman numbers. Since we have no over/underlining, we can only represent positive integers which are smaller than 4000. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_) |-> _}
|
|
name: |
fromInt |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Prelude.Int -> Roman |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |