MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica and Lisp


On Jan 24, 2013, at 1:18 AM, Richard Fateman <fateman at 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 at 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








  • Prev by Date: Re: NDSolve differences between mathematica 8 and 9
  • Next by Date: Re: Mathematica and Lisp
  • Previous by thread: Re: Mathematica and Lisp
  • Next by thread: Re: Mathematica and Lisp