CurryInfo: currydoc-4.0.0 / CurryDoc.Html.genHtmlField

definition: Info
 
genHtmlField :: DocOptions -> [String] -> String -> [(String,String)]
             -> CFieldDecl -> [BaseHtml]
genHtmlField docopts fldcmts cname fldCons (CField (fmod,fname) _ ty)
  | withAnchor fname = [anchored (fname ++ "_FIELD") html]
  | otherwise        = html
 where
  withAnchor f = maybe False (== cname) (lookup f fldCons)
  html         = [ code [opnameDoc [htxt fname]
                 , BaseText (" :: " ++ showType docopts fmod True ty)]
                 ] ++ maybe []
                            (\ (_,cmt) -> htxt " : " : removeTopPar
                               (docComment2HTML docopts (removeDash cmt)))
                            (getConsComment fldcmts fname)
demand: Info
 arguments 4 5
deterministic: Info
 deterministic operation
documentation: Info
 
generate HTML documentation for record fields
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_,{CField}) |-> _}
name: Info
 genHtmlField
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 CurryDoc.Options.DocOptions -> [String] -> String -> [(String, String)]
-> AbstractCurry.Types.CFieldDecl -> [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