|
definition: |
showPkgSource :: Package -> [(String,[BaseHtml])]
showPkgSource pkg = case source pkg of
Just (Git url _) -> [("Source repository", [showURL url])]
Just (Http url ) -> [("Source", [showURL url])]
_ -> []
|
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_) |-> {:,[]}}
|
|
name: |
showPkgSource |
|
precedence: |
no precedence defined |
|
result-values: |
{:,[]}
|
|
signature: |
CPM.Package.Package -> [(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 |