Compares to LambdaExpressions and returns the list of outermost positions where they differ.
Compares to LambdaExpressions and returns the list of outermost positions where they differ.
The first expression.
The second expression.
The list of outermost positions at which exp1 and exp2 differ.
Returns a list of positions of subexpressions that satisfy some predicate.
Returns a list of positions of subexpressions that satisfy some predicate.
The expression under consideration.
The predicate to be evaluated. Defaults to "always true", i.e. if called without this argument, the function will return all positions.
Positions of subexpressions satisfying pred.
Replaces a a subexpression in a LambdaExpression.
Replaces a a subexpression in a LambdaExpression.
The expression in which to perform the replacement.
The position at which to replace.
The expression that exp(pos) should be replaced with.