CurryInfo: cpm-manage-3.0.0 / CPM.Package.HTML.leftTopMenu

definition: Info
 
leftTopMenu :: Bool -> Int -> [[BaseHtml]]
leftTopMenu inpkg actindex =
  [ [mhref 0 "index.html"  "All Packages"]
  , [mhref 2 "indexc.html" "Categories"]
  , [mhref 1 "indexv.html" "Recent Uploads"]
  ]
 where
  mhref i url txt = (if i == actindex then hrefNavActive else hrefNav)
                       (if inpkg then ".." </> url else url) [htxt txt]
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
The standard left top menu.
The first argument is true if we are inside a package documentation.
The second argument indicates the index of the active link
(negative value = no active link)
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {:}}
name: Info
 leftTopMenu
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 Prelude.Bool -> Prelude.Int -> [[HTML.Base.BaseHtml]]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term