MathGroup Archive 2009

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

Search the Archive

Re: pure function with optional number of arguments


Leonid Shifrin wrote:
> Hi Ruth,
> 
> You can use the undocumented form of the pure function which can take any
> number of arguments:
> 
> Function[Null, body[##]].

This is a standard documented feature.  See these doc pages:

http://reference.wolfram.com/mathematica/ref/Function.html#29126
http://reference.wolfram.com/mathematica/ref/SlotSequence.html


  • Prev by Date: Re: Brace, bracket pretty format needed
  • Next by Date: Re: Modifying List Elements.
  • Previous by thread: Re: pure function with optional number of arguments
  • Next by thread: Re: pure function with optional number of arguments