This was just an example. I have a more complex scenario in mind where dot
doesn’t help.
This is very clever: Is there something like broadcast_mapreduce? - #15 by fabiangans. Perhaps a solution can come out of the ArrayReduce
struct suggested there.