I was reading the documentation for writing parallel for loops in Julia using @distributed and saw that it is possible to specify a reducer function that acts on the result of each iteration of the loop.
For instance, as it is shown in the next example taken from the documentation, it is possible to sum the result of every single worker:
nheads = @distributed (+) for i = 1:200000000
Int(rand(Bool))
end
Unfortunately I couldn't find any list of which functions can be used as reducers and how to exactly do it. Is there such a list?