3 ms·Sounds like a case for macros.by pg 19y agoSounds like a case for macros.tuukkah 19y agoA higher-order method 'iterate' on containers would also do, and it would be more idiomatic in the languages i know.