-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[WIP] pattern-matching: Cannot_flatten, maybe we can? #9650
Commits on Oct 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cc462e0 - Browse repository at this point
Copy the full SHA cc462e0View commit details -
matching: more complete testsuite for do_for_multiple_match
Note: we now use -dlambda rather than -drawlambda, because otherwise the output is much more verbose and difficult to read. (-drawlambda is closed to the inner workings of the pattern-matching compiler, but the simplification in -dlambda make the output much more readable. They are also fairly predictable/non-surprising, so I think that we can still easily understand what the compiler did from that output.)
Configuration menu - View commit details
-
Copy full SHA for 31c2551 - Browse repository at this point
Copy the full SHA 31c2551View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd83d67 - Browse repository at this point
Copy the full SHA bd83d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0d1e81 - Browse repository at this point
Copy the full SHA c0d1e81View commit details -
matching: towards a correctness argument for flatten_* ignoring varia…
…bles Before we ignored as-patterns in the flatten_* functions because as-patterns would either be half-simplified or raise Cannot_flatten (in any case, never reach the flattening functions). Now the reasoning is a bit more subtle: the only non-simple matrices we flatten are used as "ghost" information (default environments, provenance) where variables do not matter, only the shape of matched values.
Configuration menu - View commit details
-
Copy full SHA for 7aa43ac - Browse repository at this point
Copy the full SHA 7aa43acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 940149a - Browse repository at this point
Copy the full SHA 940149aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc38d2 - Browse repository at this point
Copy the full SHA 8fc38d2View commit details -
Matching.Simple.explode_or_pat: on-demand generation of fresh identif…
…iers This change was suggested by Thomas Refis during code review.
Configuration menu - View commit details
-
Copy full SHA for cbf69c7 - Browse repository at this point
Copy the full SHA cbf69c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ab43f8 - Browse repository at this point
Copy the full SHA 0ab43f8View commit details -
matching: clarify the ~vars argument of Simple.explode_or_pat
(suggested by Thomas Refis' review)
Configuration menu - View commit details
-
Copy full SHA for dacaddc - Browse repository at this point
Copy the full SHA dacaddcView commit details -
testsuite: clarify the allocation behavior
(A nice catch of Florian Angeletti's review)
Configuration menu - View commit details
-
Copy full SHA for b5f6cd4 - Browse repository at this point
Copy the full SHA b5f6cd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d5f494 - Browse repository at this point
Copy the full SHA 7d5f494View commit details