On 12/23/11 7:07 AM, Stavros Macrakis wrote:
> subst(expr,'expr,lambda([i],expr))
> buildq([expr],lambda([i],expr))
>
> Both return lambda([i],i).
>
> Examples of use:
>
> expr: '(i^2)$
> myfun: subst(expr,'expr,lambda([i],expr))$
> myfun(5) => 25
>
> or simply
>
> lambda([i],ev(expr))(5) => 25
>
Is this one of the cases where ev is the right thing to use?
Ray