Zulip Daily Summary (2026-03-07)
Roc Zulip Daily Summary — 2026-03-07
- Realm: https://roc.zulipchat.com
- Window: 2026-03-07 12:00 AM to 2026-03-08 12:00 AM (America/Los_Angeles)
- Messages: 8
- LLM: vertex_open_model model=zai-org/glm-5-maas topics=2 ok=2/2
Top threads
descending range function
Summary
Norbert Hajagos asked how to implement a descending range for a for loop, suggesting options like a down_to method or reversing an existing range. Richard Feldman indicated that future iterator support would handle this, but agreed that adding a List.rev function in the meantime would be a good addition.
Key points
- The existing
range_toandrange_untilfunctions only support ascending order. - Brendan Hansknecht suggested making existing range functions work in reverse but noted it might be error-prone (e.g.,
1.range_to(x)being ambiguous). - Richard Feldman stated that the long-term plan is for ranges to return reversible iterators.
- Iterators are not currently available in the builtins.
Open questions
- None.
Action items
-
Implement a
rev(reverse) method on List in pure Roc. - Channel: beginners
- Conversation: descending range function
- Messages: 7
- People: 3
- Time: 7:40 AM–1:15 PM (America/Los_Angeles)
- Participants: Richard Feldman, Norbert Hajagos, Brendan Hansknecht
- Link: https://roc.zulipchat.com/#narrow/channel/231634-beginners/topic/descending.20range.20function/near/577943276
Error handling / new compiler
Summary
Jay acknowledged previous feedback and confirmed they will begin drafting a plan or implementation, intending to monitor progress and adjust as needed.
Key points
- Jay is initiating the work by sketching something out.
- Jay plans to follow updates regarding the topic.
- The approach is iterative, with the intent to see how the work progresses.
Open questions
- None identified in the provided transcript.
Action items
-
Jay to sketch something out.
- Channel: beginners
- Conversation: Error handling / new compiler
- Messages: 1
- People: 1
- Time: 8:04 AM–8:04 AM (America/Los_Angeles)
- Participants: Jay
- Link: https://roc.zulipchat.com/#narrow/channel/231634-beginners/topic/Error.20handling.20.2F.20new.20compiler/near/577926570