ela
Contents

ManualLanguage

The ? suffix

In the terminalela --spec the-suffix

? written straight after an operator or a type name means its lenient form: something may be cut off, missing or empty, and the script says so at the place it happens. Strict stays the default everywhere.

  • Defined: |?, the lenient pipe; type?, an optional struct field (Structs and enums).
  • Reserved: ? after any other operator or type. Each is defined in this spec before it is built; until then it is an error.
  • Never inside text: "ready?" is a string and ls ?.txt a glob.