fun comb(_,0) = ... fun f ((x,y)::z::xs) = ... Illegal cases: fun length ... The form of the expression does not meet the conditions for it to be non-expansive. ...
Fold Operations Abstracting Repetitions Motivation : Appending lists lappend (link) generalization of binary append to appending an arbitrary number of lists fun ...