definition: |
showVersion :: Version -> String showVersion (maj, min, pat, pre) = majMinPat ++ preRelease where majMinPat = intercalate "." $ map show [maj, min, pat] preRelease = case pre of Just specifier -> "-" ++ specifier Nothing -> "" |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Shows a version in dotted notation. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({(,,,)}) |-> _} |
name: |
showVersion |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
(Prelude.Int, Prelude.Int, Prelude.Int, Prelude.Maybe String) -> String |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |