-
Notifications
You must be signed in to change notification settings - Fork 1
Add named MAP. #201
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestinterpreterRequires a code change in the interpreter.Requires a code change in the interpreter.minorRequires a minor version change.Requires a minor version change.testSomething related to the test suite.Something related to the test suite.
Milestone
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestinterpreterRequires a code change in the interpreter.Requires a code change in the interpreter.minorRequires a minor version change.Requires a minor version change.testSomething related to the test suite.Something related to the test suite.
Add named
MAP.Symbols, parameters, and return types of type
MAPMAY now specify a templateMAPwith the formTYPE{template}, where the template is written as aMAP.templateMAY be any expression that evaluates toMAP. Templates are matched according to the same rules as theMATCHoperator.Named
MAPwith different templates are treated as different types, but are all considered part of the parentMAPtype.Signatures MUST include the template in the type annotation for named
MAP.Update the specification, implementation, and test suite.