-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Browser Binding Proposal
-
Fix Version/s: Browser Binding Proposal
-
Component/s: Browser Binding
-
Labels:None
-
Proposal:
-
Resolution:
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