I am slowly trying to grok the Record Builder example.
I'm wondering if there is a simpler explanation of the <-
operator anywhere? Its not in the operator desugaring table, which seems odd to me as <-
seems like perhaps the must sugarful operator of all.
It is desugared directly above the table: https://www.roc-lang.org/tutorial#record-builder
probably helps to look at backpassing first: https://www.roc-lang.org/tutorial#backpassing
Thank you, the backpassing section is exactly what I was looking for. Not sure how I missed it, I could swear I grepped the tutorial for <-
Andy Hamon has marked this topic as resolved.
Last updated: Jul 06 2025 at 12:14 UTC