MathGroup Archive 2010

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

Search the Archive

Placing the "&"

  • To: mathgroup at
  • Subject: [mg114759] Placing the "&"
  • From: ziloo <ziloo_1 at>
  • Date: Thu, 16 Dec 2010 05:48:13 -0500 (EST)

Hello folks...a newbie question here,

Looking at the following three examples, would you please
explain the criteria for placing the "&" when using an
anonymous function:

2^(#) +1 &


Select[Range[500], PrimeQ[FromDigits[Table[1, {#}]]] &]

Why is the "&" getting further away from the function's body?

Thank you


  • Prev by Date: Defining a distribution
  • Next by Date: Re: manipulate time
  • Previous by thread: Re: Defining a distribution
  • Next by thread: Re: Placing the "&"