CurryInfo: icurry-3.2.0 / ICurry.Pretty.ppFunction

definition: Info
 
ppFunction :: IFunction -> Doc
ppFunction (IFunction name ar _ demargs body) =
  ppQName name <> char '/' <> int ar <>
  (if null demargs
     then empty
     else text (" (DEMANDED: " ++ intercalate "," (map show demargs) ++ ")"))
  <+> char ':' <+> ppFuncBody body
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Pretty print an ICurry function
@param fns the function
@return    the pretty printed function
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({IFunction}) |-> _}
name: Info
 ppFunction
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 ICurry.Types.IFunction -> Text.PrettyImpl.Doc
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term