Note on ordering and default initialization

This commit is contained in:
Emery Hemingway 2021-11-11 21:23:03 +01:00
parent 2ff489d975
commit 4ae8c341c9
1 changed files with 5 additions and 0 deletions

View File

@ -188,6 +188,11 @@ number or boolean:
/ Ref
/ LiteralPattern -- with a side condition
A host language will likely use the same ordering of its types as
specified by the schema. It is therefore recommended to specify first
the alternative best suited as a default initialization value (if
there is any).
### Intersection definitions.
AndPattern = NamedPattern "&" NamedPattern *("&" NamedPattern)