Talk:Exponentiation order: Difference between revisions
Content added Content deleted
(→Functions: REXX order dependent on implementation?) |
(→Functions: Python "reduce") |
||
Line 19: | Line 19: | ||
:When home computers where new and there seemed to be so many implementations of BASIC, associativity was all over the place. I found out from this task that Pythons naive reduce example doesn't give the 'proper' associativity for example. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:09, 24 March 2014 (UTC) |
:When home computers where new and there seemed to be so many implementations of BASIC, associativity was all over the place. I found out from this task that Pythons naive reduce example doesn't give the 'proper' associativity for example. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:09, 24 March 2014 (UTC) |
||
::IMHO the Python <code>reduce</code> function has nothing to do with that task. It will always apply the given function on elements of the sequence from left to right, regardless of the function. |
|||
::And I don't think that task makes sense for languages without an exponentiation operator. --[[User:AndiPersti|Andreas Perstinger]] ([[User talk:AndiPersti|talk]]) 08:23, 24 March 2014 (UTC) |
|||
== Task necessary? == |
== Task necessary? == |