CurryInfo: icurry-3.2.0 / ICurry.Pretty.ppExpr

definition:
ppExpr :: IExpr -> Doc
ppExpr (IVar v)           = ppVar v
ppExpr (IVarAccess v pos) = ppVar v <> ppPos pos
ppExpr (ILit l)           = ppLit l
ppExpr (IFCall n es)      = ppQName n <> parens (ppExprs es)
ppExpr (ICCall n es)      = ppExpr (IFCall n es)
ppExpr (IFPCall n _ es)   = ppQName n <> parens (ppExprs es)
ppExpr (ICPCall n m es)   = ppExpr (IFPCall n m es)
ppExpr (IOr e1 e2)        = parens (ppExpr e1 <+> char '?' <+> ppExpr e2)
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- Pretty print an ICurry expression
--- @param expr the expression
--- @return     the pretty printed expression
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({IVar}) |-> _ || ({IVarAccess}) |-> _ || ({ILit}) |-> {Doc} || ({IFCall}) |-> _ || ({ICCall}) |-> _ || ({IFPCall}) |-> _ || ({ICPCall}) |-> _ || ({IOr}) |-> _}
name:
ppExpr
precedence:
no precedence defined
result-values:
_
signature:
ICurry.Types.IExpr -> Text.PrettyImpl.Doc
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term