Let's add support ternar operator A=B?C:D And add it to manual
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.
if B then C else D
?
Last updated: Jun 16 2026 at 16:19 UTC