forked from syndicate-lang/preserves
Note on ordering and default initialization
This commit is contained in:
parent
2ff489d975
commit
4ae8c341c9
|
@ -188,6 +188,11 @@ 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