I thought this would be useful. Is there an equivalent here?
https://www.uiua.org/docs/scan
(fold while keeping intermediate values)
Last updated: Sep 03 2026 at 15:16 UTC