roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 313 forks source link

Remove "backpassing" and add "the `!` operator" #6949

Closed ageron closed 3 months ago

ageron commented 3 months ago

This interactive code example does not include backpassing, unless I'm mistaken. Instead, it uses the ! operator. I also reordered the syntax sugar list to match the order they appear in the example.

ageron commented 3 months ago

My understanding is that "backpassing" only refers to the <- syntax (as explained in roc-for-elm-programmers.md).

But perhaps using ! is also called "backpassing"? If so, then this should be explained in the interactive example, as well as in the tutorial.