[PATCH 05/34] alist: Add for-loop helpers