|
definition: |
showCompilerReq :: CompilerCompatibility -> BaseHtml
showCompilerReq (CompilerCompatibility cc vcs)
| cc == "pakcs"
= ehrefSuccBadge pakcsURL
[htxt cc, nbsp, showConstraintBadge (showVersionConstraints vcs)]
| cc == "kics2"
= ehrefWarnBadge kics2URL
[htxt cc, nbsp, showConstraintBadge (showVersionConstraints vcs)]
| cc == "curry2go"
= ehrefInfoBadge curry2goURL
[htxt cc, nbsp, showConstraintBadge (showVersionConstraints vcs)]
| otherwise
= textstyle "badge badge-secondary" (cc ++ " " ++ showVersionConstraints vcs)
|
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({CompilerCompatibility}) |-> _}
|
|
name: |
showCompilerReq |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
CPM.Package.CompilerCompatibility -> HTML.Base.BaseHtml |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |