definition: |
showPkgVersion :: Package -> Version -> BaseHtml showPkgVersion pkg v = (if version pkg == v then hrefPrimBadge else hrefScndBadge) (name pkg ++ "-" ++ vers ++ ".html") [htxt vers] where vers = showVersion v |
demand: |
arguments 1 2 |
deterministic: |
deterministic operation |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
showPkgVersion |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
CPM.Package.Package -> (Prelude.Int, Prelude.Int, Prelude.Int, Prelude.Maybe String) -> HTML.Base.BaseHtml |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |