CurryInfo: icurry-3.2.0 / ICurry.Pretty.ppFunction

definition:
 
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:
 argument 1
deterministic:
 deterministic operation
documentation:
 
Pretty print an ICurry function
@param fns the function
@return    the pretty printed function
failfree:
 _
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {({IFunction}) |-> _}
name:
 ppFunction
precedence:
 no precedence defined
result-values:
 _
signature:
 ICurry.Types.IFunction -> Text.PrettyImpl.Doc
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 possibly non-reducible on same data term