Skip to content

Commit

Permalink
Define function composition for :string values (#798)
Browse files Browse the repository at this point in the history
* Define function composition for :string values

* Update spec/registry.md as suggested by @stasm in #814

* Drop the "only"

* Update text following code review comments

---------

Co-authored-by: Addison Phillips <[email protected]>
  • Loading branch information
eemeli and aphillips authored Oct 21, 2024
1 parent 7f9a4de commit 1291773
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ The `:string` function returns the string value of the _resolved value_ of the _
> Users SHOULD encode _messages_ and their parts in Unicode Normalization Form C (NFC)
> unless there is a very good reason not to.
#### Composition
When an _operand_ or an _option_ value uses a _variable_ annotated,
directly or indirectly, by a `:string` _function_,
its _resolved value_ contains the string value of the _operand_ of the annotated _expression_,
together with its resolved locale and directionality.
None of the _options_ set on the _expression_ are part of the _resolved value_.
## Numeric Value Selection and Formatting
### The `:number` function
Expand Down

0 comments on commit 1291773

Please sign in to comment.