Merge branch 'schema-notes' into 'main'
Note on ordering and default initialization See merge request preserves/preserves!5
This commit is contained in:
commit
a21b4032a7
|
@ -231,6 +231,11 @@ pattern - one that matches a string, symbol, number or boolean:
|
||||||
/ Ref
|
/ Ref
|
||||||
/ LiteralPattern -- with a side condition
|
/ 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.
|
### Intersection definitions.
|
||||||
|
|
||||||
AndPattern = NamedPattern "&" NamedPattern *("&" NamedPattern)
|
AndPattern = NamedPattern "&" NamedPattern *("&" NamedPattern)
|
||||||
|
|
Loading…
Reference in New Issue