CurryInfo: currydoc-4.0.0 / CurryDoc.Html.docComment2HTML

definition: Info
 
docComment2HTML :: DocOptions -> String -> [BaseHtml]
docComment2HTML opts cmt
  | null cmt          = []
  | withMarkdown opts = markdownText2HTML (replaceIdLinks opts cmt)
  | otherwise         = [par [BaseText (replaceIdLinks opts cmt)]]
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Translate a documentation comment to HTML and use markdown translation
if necessary
@return: either a paragraph (`<p>`) element or an empty list.
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 docComment2HTML
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 CurryDoc.Options.DocOptions -> 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