From the hub, tagged: "bagof"

Various ways to iterate in Prolog

This post is external to PrologHub

This is a list of simple examples, mainly created for my own reference, on the numerous ways of list processing in Prolog. My original title was six ways to iterate in Prolog, but it's reached 11 and still counting.