-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: Browser Binding Proposal
-
Component/s: Browser Binding
-
None
Orderly doesn't define a map or dictionary kind of structure that we need for properties.
Orderly maps could look like this:
map
{ string => boolean } isAllowed; // keys are strings and values are booleans
map { string => union
} things; // keys are strings and values can be strings, integers or null
map
intMapping; // keys are one of enum values and values are integers
Grammar:
'map' '
{' unnamed_entries '=>' unnamed_entries '}' optional_optional_marker