Not sure if you want to go through it all, but “does foreach/2 have a bug” is not a new question
See here: Foreach bug?
I am quite sure there are also older discussions on the same topic.
Not sure if you want to go through it all, but “does foreach/2 have a bug” is not a new question
See here: Foreach bug?
I am quite sure there are also older discussions on the same topic.