Email list hosting service & mailing list manager

Another code sample - symbolic derivatives David A. Wheeler (09 Apr 2013 02:57 UTC)
Re: Another code sample - symbolic derivatives Mark H Weaver (09 Apr 2013 04:26 UTC)
Re: Another code sample - symbolic derivatives David A. Wheeler (09 Apr 2013 04:45 UTC)
Re: Another code sample - symbolic derivatives Alan Manuel Gloria (09 Apr 2013 13:17 UTC)

Re: Another code sample - symbolic derivatives David A. Wheeler 09 Apr 2013 04:45 UTC

I wrote:

> >     else list('+ a1 a2)

Mark H Weaver:
> Unless I'm mistaken, you could also write this as:
>       else `{,a1 + ,a2}
> and similarly for the multiplication case.

Yes, absolutely!

It's probably better written that way, to emphasize the traditional infix operation.

--- David A. Wheeler