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

Parse error with nested tuple projections #892

Closed
ulidtko opened this issue Sep 14, 2020 · 1 comment
Closed

Parse error with nested tuple projections #892

ulidtko opened this issue Sep 14, 2020 · 1 comment

Comments

@ulidtko
Copy link

ulidtko commented Sep 14, 2020

Hi!

Section 1.7 of Programming with Cryptol says "Nested projections are also supported." and proceeds to give an exercise which fails on version 2.9.1:

Cryptol> ((1, 2), False, (3-1, (4, True))).2.1

Parse error at <interactive>:1:35,
  unexpected: 2.1

I acknowledge that pattern-matching is a nicer way to do it anyway; but for a textbook exercise, it'd be cool to stay not broken.

@brianhuffman
Copy link
Contributor

Duplicate of #876.

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

No branches or pull requests

2 participants