I'm curious: will Roc ever grow list comprehensions? I wrote a Python script yesterday and it was like giving an old friend a high five.
(some Rust-Iterator-like concept may be better though.)
I think that most usage of list comprehensions is covered already by Roc's backpassing capabilities. (and List.joinMap)
Though I guess that you'd have to be explicit with the pattern-matching (and handling of values not matching the pattern)
Last updated: Jun 16 2026 at 16:19 UTC