|
|
Re: Mathematica and Lisp
Posted:
Jan 26, 2013 1:37 AM
|
|
On Jan 24, 2013, at 1:18 AM, Richard Fateman <fateman@cs.berkeley.edu> wrote:
> On 1/22/2013 8:18 PM, David Bailey wrote: > .... > (regarding Lisp) > >> Having 3 types of brackets, definitely helps to discern the structure, >> even with indentation. >> > ... Note that f(a,g(b),c) has > as many parens as the Lisp (f a (g b) c) and that using square > brackets as f[a,g[b],c] is not much different.
In many situations, in Mathematica one may use
f[a, g@b, c]
which is much easier to read that the FullForm equivalent (with the nested brackets).
--- Murray Eisenberg murray@math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2838 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
|
|