MathGroup Archive 2010

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

Search the Archive

Re: priorities between @, @@ and //

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108744] Re: priorities between @, @@ and //
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Tue, 30 Mar 2010 05:00:05 -0500 (EST)

Don't memorize rules. When in doubt, highlight an operator and double or  
triple click to see what expansion of the selection occurs.

Bobby

On Mon, 29 Mar 2010 07:20:10 -0500, guerom00 <guerom00 at gmail.com> wrote:

> Hello all,
>
> Just a quick question : what are the priority between all those
> operators ? I mean :
> - what is f@x//g ? Is it f[g[x]] or g[f[x]]
> - what is f@@{a,b}[[2]] ? Is it f[b] or (f[a,b])[[2]]
>
> You see what I mean... What are the rules for the priority of all
> those operators ?
>
> TIA :)
>


-- 
DrMajorBob at yahoo.com


  • Prev by Date: Re: Histogram
  • Next by Date: Re: priorities between @, @@ and //
  • Previous by thread: priorities between @, @@ and //
  • Next by thread: Re: priorities between @, @@ and //