-
-
Couldn't load subscription status.
- Fork 5.7k
Closed
Labels
breakingThis change will break codeThis change will break codeneeds decisionA decision on this change is neededA decision on this change is needed
Description
Currently, the reduce and mapreduce implementations are left-associative, but this is not documented in the manual. For accuracy reasons (#4039) and possibly for future performance reasons (in parallel implementations), left-associativity is not necessarily the best choice. My suggestion is:
- Explicitly document that the associativity of these functions is implementation-dependent and unspecified.
- Provide
reduce_leftandmapreduce_leftfunctions that are documented to be left-associative, for applications that need this (e.g. Monads.jl).
cc: @StefanKarpinski, @pao
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codeneeds decisionA decision on this change is neededA decision on this change is needed