MathGroup Archive 2013

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

Search the Archive

Re: Mathematica and Lisp

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129578] Re: Mathematica and Lisp
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Sat, 26 Jan 2013 01:38:35 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kcqkv4$lq5$1@smc.vnet.net> <kct7fj$sgo$1@smc.vnet.net> <kd03ej$6dl$1@smc.vnet.net> <kd2ltk$cog$1@smc.vnet.net> <kd7tsg$q3s$1@smc.vnet.net> <kdanpt$3d5$1@smc.vnet.net> <kdlfp1$117$1@smc.vnet.net> <kdnoak$725$1@smc.vnet.net> <20130124061840.F27B168D1@smc.vnet.net>

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