Stream: ideas

Topic: Ternar operator


view this post on Zulip Дмитрий Козлов (Jun 25 2024 at 17:45):

Let's add support ternar operator
A=B?C:D
And add it to manual

view this post on Zulip Matthieu Pizenberg (Jun 25 2024 at 17:47):

You can do one-line if B then C else D. Roc tries to reduce the number of operators, and ? has another proposal for now.


Last updated: Jun 16 2026 at 16:19 UTC