[Date Index] [Thread Index] [Author Index]
RE: Re: Re: Programming style: postfix/prefix vs. functional
Chris, Operate applies the function to only the Head of the expression. f@g[x] f[g[x]] Operate[f, g[x]] f[g][x] Although I think it would have made more sense to define Operate with subvalues so one could write Operate[f][g[x]] or Operate[f]@g[x] David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Chris Chiasson [mailto:chris at chiasson.name] To: mathgroup at smc.vnet.net Andrzej Kozlowski, Thanks for the wildcard info! So, does @ correspond to Operate? I think Operate is a bit different than @, but I am not sure.