I was looking at this example of foldr
…
foldr (/) 1 [2,4,8]
… and it divides each number in the list by the accumulator with a final result of 4. So 8/1, 4/8, 2/0.5.
However, before I looked it up I thought it could just as well be: 1/8, 0.125/4, 0.3125/1.
I see it is the way it is but I’m looking for some rule or intuition to guide me rather than just remembering that it works that way.
Is there something to the order other than it was designed that way?