I vaguely recall hearing/seeing that the new syntax for Roc was going to adopt something similar to the way Zig does error handling. Am I totally mis-remembering or is there anything someone could point me to? Mostly just curious since I've been learning Zig and finding it pretty reasonable.
Actually, just skimmed through the advent of code doc and think I found it
https://gist.github.com/rtfeldman/f46bcbfe5132d62c4095dfa687bb9aa4#the--postfix-operator
increment_first = |strings| {
first_str = strings.first()?
first_num = I64.from_str(first_str)?
Ok(first_num + 1)
}
Last updated: Feb 20 2026 at 12:27 UTC