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: Oct 15 2026 at 17:56 UTC