Peter Hawkins 8ab33669e2 Add a variant of safe_map() that has no return value, named foreach().
This avoids a bunch of list bookkeeping in cases where we are iterating only for a side effect and do not care about the results.

I would have named this iter() to match OCaml's list.iter(), but unfortunately iter() is a Python builtin.

PiperOrigin-RevId: 736859418
2025-03-14 07:42:48 -07:00
..
2024-12-18 07:46:14 +00:00
2025-03-07 04:52:58 +00:00
2024-05-25 17:46:01 +00:00
2024-10-07 12:27:35 -07:00
2024-11-05 13:28:17 -08:00
2025-02-26 04:48:25 +00:00
2025-02-18 09:44:16 +00:00
2025-03-12 18:15:14 -04:00
2024-07-15 12:54:00 -07:00