-
-
Notifications
You must be signed in to change notification settings - Fork 905
VIP: Change Mapping Syntax #564
Copy link
Copy link
Closed
Labels
VIP: ApprovedVIP ApprovedVIP ApprovedVIP: DiscussionUsed to denote VIPs and more complex issues that are waiting discussion in a meetingUsed to denote VIPs and more complex issues that are waiting discussion in a meeting
Metadata
Metadata
Assignees
Labels
VIP: ApprovedVIP ApprovedVIP ApprovedVIP: DiscussionUsed to denote VIPs and more complex issues that are waiting discussion in a meetingUsed to denote VIPs and more complex issues that are waiting discussion in a meeting
Type
Fields
Give feedbackNo fields configured for issues without a type.
Preamble
VIP: 564
Title: Change Mapping Syntax
Author: @fubuloubu @grosu
Type: Standard
Status: Draft
Created: 2017-12-08
Requires: #563
Abstract
Mapping syntax looks very similar to the array syntax, so we should change the syntax so it is not confusing
Motivation
See above
Specification
Change Mapping Syntax to
my_mapping: map(basetype1, type2)Nested map Syntax to look as follows:
my_mapping: map(basetype1, map(basetype1, basetype2))Backwards Compatibility
Not Backwards compatible
Copyright
Copyright and related rights waived via CC0
EDIT: Previous proposed syntax was
my_mapping: basetype1 -> type2