HaloO,
Mark J. Reed wrote:
On Wed, Mar 26, 2008 at 1:06 PM, TSa <[EMAIL PROTECTED]> wrote:
> 1 + a(x)²!
Seems like a mathematician would be inclined to write that one as this instead:
1 + a²(x)!
That one is ambiguous because it could mean a(a(x)) or a(x)*a(x)
with the latter case being used for the trigonometric functions
as exceptions to the former rule.
But I'm not suggesting that you try to make (a**2)(x) work for
(a(x))**2 in Perl. :)
That might actually be written &a**2($x) which is visually unpleasing
because ** separates &a and 2 while 2 and ($x) don't even have
something in between.
I'm tempted for quite a while now to start a thread called "operator
arithmetic" discussing first class code value arithmetic. But I don't
know if that is too far off this list.
Regards, TSa.
--
The Angel of Geometry and the Devil of Algebra fight for the soul
of any mathematical being. -- Attributed to Hermann Weyl