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

Implement array patterns #1912

Merged
merged 1 commit into from
May 16, 2024
Merged

Implement array patterns #1912

merged 1 commit into from
May 16, 2024

Commits on May 13, 2024

  1. Implement array patterns

    This commit adds a new calss of patterns: array patterns. This is a
    natural extension, both syntactically and semantically, of existing data
    structure patterns in Nickel (in particular of records). Similarly,
    arrays pattern can also capture the rest of the pattern (the tail of the
    array that hasn't been matched yet) and bind it to a variable.
    yannham committed May 13, 2024
    Configuration menu
    Copy the full SHA
    0ab9793 View commit details
    Browse the repository at this point in the history