Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Re: Programming style: postfix/prefix vs. functional

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70702] Re: [mg70633] Re: [mg70587] Programming style: postfix/prefix vs. functional
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Mon, 23 Oct 2006 02:51:16 -0400 (EDT)
  • References: <200610200921.FAA11092@smc.vnet.net> <200610210914.FAA29189@smc.vnet.net> <2A8E209D-C4D9-45C1-933B-5E3D955D99C5@mimuw.edu.pl> <acbec1a40610210543k3a861eb7tb3bdb777170618b@mail.gmail.com> <2F11E8C9-D5C5-45EC-BA91-7F52E72CCC3B@mimuw.edu.pl> <acbec1a40610220224h4d154c37rd6b0d909820cfd19@mail.gmail.com> <0F88AC40-82C0-4E0C-9872-EC6EF0EECAC2@mimuw.edu.pl> <acbec1a40610220408k5215a9fdh89d3fa5d7f840661@mail.gmail.com> <EF8459BF-7BF4-4EAC-9068-463015ED18B4@mimuw.edu.pl> <acbec1a40610220637o7a381a35oe8b5127aec34fb42@mail.gmail.com>

or rather, if f has attributes different than the attributes delcared
in the particular Function

On 10/22/06, Chris Chiasson <chris at chiasson.name> wrote:
> On 10/22/06, Andrzej Kozlowski <akoz at mimuw.edu.pl> wrote:
> > Well, then, if you must have a function, how about saying that @
> > "corresponds" to #1[#2]& ?
>
> That is a close definition, but it doesn't quite match if f has
> different attributes than Function.
>
> I could possibly write a MakeExpression rule that would approximate @
> (using another character without a built in meaning, obviously) in a
> notebook environment, but I don't (think I) know how to write an
> approximation for a console environment.
>
> On 10/22/06, Andrzej Kozlowski <akoz at mimuw.edu.pl> wrote:
> > Well, then, if you must have a function, how about saying that @
> > "corresponds" to #1[#2]& ? While it is not a built-in function, it
> > does satisfy the relationship
> >
> > f@x === #1[#2]&[f,x]
> >
> > ??
> >
> > Andrzej
> >
> >
> > On 22 Oct 2006, at 20:08, Chris Chiasson wrote:
> >
> > > On 10/22/06, Andrzej Kozlowski <akoz at mimuw.edu.pl> wrote:
> > >> Why
> > >> does it matter whether something "corresponds" to a "function applied
> > >> at some particular level" or is "just a shorthand" for some
> > >> particular expression?
> > >
> > > I have wondered about it for a long time. I am just hoping to nail
> > > down a definitive answer to improve my Mathematica knowledge.
> > >
> > > --
> > > http://chris.chiasson.name/
> >
> >
>
>
> --
> http://chris.chiasson.name/
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Re: Programming style: postfix/prefix vs. functional
  • Next by Date: Re: Re: Programming style: postfix/prefix vs. functional
  • Previous by thread: Re: Re: Programming style: postfix/prefix vs. functional
  • Next by thread: Re: Re: Programming style: postfix/prefix vs. functional