Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8845

new functional operator

From roby <roby.nowak@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject new functional operator
Date 2012-03-03 11:52 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jit0me$e32$1@smc.vnet.net> (permalink)

Show all headers | View raw


Dear Group and Mathematica staff.

In the functional programming spirit I am missing a postfix notation
for Map[ ].

Du to its clarity I often prefer the sequentiall postfix style
processing of expressions and data:
e.g.

data//F1//F2//F3


but what if our data is a List and the functions we want to perform on
don't have the Listable Attribute ?.
the clumsy solution now is:

data//F1/@#&//F2/@#&//F3/@#&



therefor I suggest a new functional operator, which e.g. could look
like this: ///
such that my favorit expression would appear in this nice and clear
form:

data///F1///F2///F3


In other words the new /// operator should temporarily activate the
Listable Atrribute for the affected function


any comments welcome

Robert

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

new functional operator roby <roby.nowak@gmail.com> - 2012-03-03 11:52 +0000
  Re: new functional operator noqsiaerospace@gmail.com - 2012-03-04 09:37 +0000
    Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-08 09:37 +0000
    Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-08 09:40 +0000
    Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-08 09:40 +0000
      Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-09 11:11 +0000
      Re: new functional operator Murray Eisenberg <murray@math.umass.edu> - 2012-03-10 11:21 +0000
    Re: new functional operator Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2012-03-10 11:14 +0000
    Re: new functional operator Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2012-03-10 11:15 +0000
    Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-13 08:01 +0000
  Re: new functional operator "branton.campbell" <branton.campbell@gmail.com> - 2012-03-08 09:38 +0000

csiph-web