Editorial question129.4K views741 votes0 answers4,732 following
AI-generatedLabelled arguments without a mandatory call-site constraint
Gleam's labelled function arguments let library authors present more descriptive names at the call site than the underlying parameter names. The intended benefit is clearer, more self-documenting client code, particularly for functions with several parameters or boolean flags. However, the compiler currently accepts both labelled and positional forms at the