Skip to content
Prev 3986 / 63424 Next

design question

Erich Neuwirth asks:
The Maple notation is more understandable to most people:

	map(x -> x^2, {1, 2, 3})

but of course "->" is already taken in S/R as the right pointing
assignment operator (although maybe I'm the only one who even knows
about it, let alone uses it...)
Either swiped from TeX or both have swiped the idea from a common
source.  It has the look of a macro language, which can be misleading.
Cryptic for most users, I'd say, and very macro-like.
It has to have very low priority, possibly negative.  If syntactic
revisions were ever seriously contemplated, I would strongly favour
trying to bring in some of the S4 changes, but even there I would
regard the semantic extensions as much more urgent than the purely
syntactic ones.  Consistency with S-PLUS is not the final arbiter of
everthing but it does really matter.