Merge branch 'schema-notes' into 'main'

Note on ordering and default initialization

See merge request preserves/preserves!5
This commit is contained in:
Emery Hemingway 2022-07-23 11:41:24 +00:00
commit a21b4032a7
1 changed files with 5 additions and 0 deletions

View File

@ -231,6 +231,11 @@ pattern - one that matches a string, symbol, 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)