Skip to content

Commit 29b87b8

Browse files
eemeliromulocintra
authored andcommitted
Update spec/syntax.md
1 parent 7423759 commit 29b87b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/syntax.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,12 @@ Selector ::= 'match' ( '{' Expression '}' )+
238238

239239
Examples:
240240

241+
```
242+
match {$count :plural}
243+
when 1 [One apple]
244+
when * [{$count} apples]
245+
```
246+
241247
```
242248
let $frac = {$count: number minFractionDigits=2}
243249
match {$frac}

0 commit comments

Comments
 (0)