CurryInfo: verify-non-fail-2.0.0 / FlatCurry.Print.showFuncDeclAsLambda

definition:
showFuncDeclAsLambda :: FuncDecl -> String
showFuncDeclAsLambda fdecl =
  let rule = funcRule fdecl
  in '\\' : unwords (map (\i -> 'v' : show i) (ruleArgs rule)) ++
     " -> " ++ showExp (ruleBody rule)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Pretty prints a FlatCurry function as a lambda expression.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {:}}
name:
showFuncDeclAsLambda
precedence:
no precedence defined
result-values:
{:}
signature:
FlatCurry.Types.FuncDecl -> String
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term