For example, the language tour says about Guards:
Only a limited set of operators can be used in guards, and functions cannot be called at all.
Where is that limited set of operators documented?
Rationale: I’m trying to do this:
case n {
m if m >= 10 * base -> do_convert(n - 10 * base, roman <> digits.0)
...
but the compiler is complaining:
error: Syntax error
┌─ src/roman_numerals.gleam:15:20
│
15 │ m if m >= 10 * base -> do_convert(n - 10 * base, roman <> digits.0)
│ ^ I was not expecting this
Expected one of:
"->"
Hint: Did you mean to wrap a multi line clause in curly braces?