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

Generate nested patterns #1664

Closed
wants to merge 2 commits into from
Closed

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Dec 18, 2018

This PR adds the Prism.patterns.nested function which creates patterns to match recursively nested structures.

This PR is intended to go together with #1538.

#1444 will profit from this.


I really want to make this a resource (#1539) so that it doesn't add weight to core.

@RunDevelopment
Copy link
Member Author

I'm going to close this now because there are better ways to implement methods for generating nested patterns.

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