Roc Zulip Daily Summary — 2026-03-08

  • Realm: https://roc.zulipchat.com
  • Window: 2026-03-08 12:00 AM to 2026-03-09 12:00 AM (America/Los_Angeles)
  • Messages: 10
  • LLM: vertex_open_model model=zai-org/glm-5-maas topics=2 ok=2/2

Top threads


subscript operator

Summary

Norbert Hajagos inquired about the desired behavior for List.replace and List.set when given an out-of-bounds index, referencing a suggestion that they should crash to prioritize correctness. Richard Feldman decided that these functions should return Try types rather than crashing or panicking, allowing the team to evaluate the ergonomics of this approach in practice.

Key points

  • Norbert Hajagos is planning a PR to make List.subscript an alias to List.get and is currently implementing List.replace and List.set.
  • Research indicated that most languages treat out-of-bounds access as a contract violation, often resulting in a crash or exception.
  • Richard Feldman ruled out runtime panics for this scenario, noting that crashes in the standard library are generally reserved for integer overflow, out-of-memory, and division by zero.
  • The decision was made to implement List.replace and List.set as Try types to see how the design performs in practice.

Open questions

  • None.

Action items

Key links


Roc Online Meetup Mar 2026

Summary

Luke Boswell announced the Roc Online Meetup scheduled for March 2026, providing the meeting link and a repository for previous recordings while inviting attendees to propose presentations.

Key points

  • The meeting is to be held via Google Meet.
  • Participants are encouraged to comment with presentation ideas.
  • Videos of previous meetups are accessible via a provided Google Drive link.

Open questions

  • None

Action items

Key links