CurryInfo: currydoc-4.0.0 / CurryDoc.Html.genHtmlExportIndex

definition: Info
 
genHtmlExportIndex :: [String] -> [String] -> [String] -> [String] -> BaseHtml
genHtmlExportIndex exptypes expcons expfields expfuns =
  ulistWithClass "nav flex-column" "nav-item"
    (concatMap (\ (htmlnames,cattitle) ->
                 if null htmlnames
                   then []
                   else [bold [htxt cattitle]] : htmlnames  )
            [(htmltypes , "Datatypes:"),
             (htmlcons  , "Constructors:"),
             (htmlfields, "Fields:"),
             (htmlfuns  , "Operations:")])
 where
  htmltypes  = map (\n->[href ('#':n) [htxt n]])
                   (nub (sortStrings exptypes))
  htmlcons   = map (\n->[href ('#':n++"_CONS") [htxt n]])
                   (nub (sortStrings expcons))
  htmlfields = map (\n->[href ('#':n++"_FIELD") [htxt n]])
                   (nub (sortStrings expfields))
  htmlfuns   = map (\n->[href ('#':n) [htxt n]])
                   (nub (sortStrings expfuns))
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
generate HTML index for all exported names:
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_) |-> _}
name: Info
 genHtmlExportIndex
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [String] -> [String] -> [String] -> [String] -> 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