definition:
|
manualURL :: Package -> Maybe String
manualURL pkg = case documentation pkg of
Nothing -> Nothing
Just (PackageDocumentation _ docmain _) ->
Just (curryPackagesDocURL ++ packageId pkg </>
replaceExtension docmain ".pdf")
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Manual URL of a package (if specified in package).
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> {Just,Nothing}}
|
name:
|
manualURL
|
precedence:
|
no precedence defined
|
result-values:
|
{Just,Nothing}
|
signature:
|
CPM.Package.Package -> Prelude.Maybe String
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|