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: Jul 23 2026 at 13:15 UTC