Skip to content

Collections

Building collections in a loop, with builders

Zazr's collections never change. That is what makes them safe to share, but it raises a question the first time you fill one in a loop: if adding an element gives a new collection, what does the loop cost?

This post shows the answer, a builder: what it is, how to use one, what it doesn't let you do, and which builder goes with which collection.