Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reason Syntax v4: Angle Brackets Type Parameters (PARSING) #2604

Merged
merged 3 commits into from
Jul 13, 2020

Conversation

jordwalke
Copy link
Member

@jordwalke jordwalke commented Jul 10, 2020

This is a non-breaking change to Reason parser to implement Reason Syntax v4 Angle Brackets type parameters.
This diff only implements the parsing, and they will be reprinted as parenthesis. In a follow up diff I can implement the printing.
With this change, all existing Reason code will continue to be parsed, it just adds a new way to express type parameters.

type t<'a> = option<list<'a>>;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants