Skip to content

Pattern plus #1544

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

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

Pattern plus #1544

wants to merge 2 commits into from

Conversation

Negabinary
Copy link
Contributor

Adds a pattern plus form that lets us evaluate expressions such as:

let x + 1 = 5 in
x

Pattern plusses are given errors if they have more than one degree of freedom, (e.g. let x + y = 3 in (x,y)

Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 2.80374% with 104 lines in your changes missing coverage. Please review.

Project coverage is 48.05%. Comparing base (63e8228) to head (b4bd67b).
Report is 296 commits behind head on dev.

Files with missing lines Patch % Lines
src/haz3lcore/statics/Term.re 2.08% 47 Missing ⚠️
src/haz3lcore/dynamics/PatternMatch.re 0.00% 10 Missing ⚠️
src/haz3lcore/pretty/ExpToSegment.re 0.00% 8 Missing ⚠️
src/haz3lcore/statics/Info.re 0.00% 7 Missing ⚠️
src/haz3lcore/statics/Statics.re 0.00% 7 Missing ⚠️
src/haz3lcore/statics/Elaborator.re 0.00% 6 Missing ⚠️
src/haz3lcore/statics/TermBase.re 14.28% 6 Missing ⚠️
src/haz3lcore/statics/Self.re 0.00% 5 Missing ⚠️
src/util/Aba.re 0.00% 4 Missing ⚠️
src/haz3lmenhir/Conversion.re 0.00% 2 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1544      +/-   ##
==========================================
- Coverage   48.45%   48.05%   -0.41%     
==========================================
  Files         101      101              
  Lines       10222    10316      +94     
==========================================
+ Hits         4953     4957       +4     
- Misses       5269     5359      +90     
Files with missing lines Coverage Δ
src/haz3lcore/lang/Form.re 79.44% <100.00%> (+0.11%) ⬆️
src/haz3lcore/statics/MakeTerm.re 76.05% <0.00%> (+0.35%) ⬆️
src/haz3lmenhir/AST.re 80.36% <0.00%> (-0.25%) ⬇️
src/haz3lmenhir/Conversion.re 55.37% <0.00%> (-0.31%) ⬇️
src/util/Aba.re 59.67% <0.00%> (-4.12%) ⬇️
src/haz3lcore/statics/Self.re 27.72% <0.00%> (-1.45%) ⬇️
src/haz3lcore/statics/Elaborator.re 65.12% <0.00%> (-0.97%) ⬇️
src/haz3lcore/statics/TermBase.re 45.91% <14.28%> (-0.53%) ⬇️
src/haz3lcore/statics/Info.re 27.23% <0.00%> (-0.37%) ⬇️
src/haz3lcore/statics/Statics.re 74.63% <0.00%> (-0.77%) ⬇️
... and 3 more
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

1 participant