Skip to content

Add named MAP. #201

@python-processing-unit

Description

@python-processing-unit

Add named MAP.

Symbols, parameters, and return types of type MAP MAY now specify a template MAP with the form TYPE{template}, where the template is written as a MAP. template MAY be any expression that evaluates to MAP. Templates are matched according to the same rules as the MATCH operator.

Named MAP with different templates are treated as different types, but are all considered part of the parent MAP type.

Signatures MUST include the template in the type annotation for named MAP.

Update the specification, implementation, and test suite.

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestinterpreterRequires a code change in the interpreter.minorRequires a minor version change.testSomething related to the test suite.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions