Skip to content

Conversation

@7h3kk1d
Copy link
Contributor

@7h3kk1d 7h3kk1d commented Nov 12, 2025

  • Updated FixF constructor in MakeTerm.re to omit the third argument
  • Adjusted pattern matching and pretty printing in ExpToSegment.re
  • Simplified fixpoint evaluation logic in Evaluator.re by removing closure handling
  • Removed extraneous None arguments in builtin definitions

This change simplifies the FixF representation by eliminating the optional closure environment, reducing complexity in term construction and evaluation.

@Negabinary I removed it and all the tests seem to pass. I haven't reasoned through anything so not sure why it was there.

- Updated FixF constructor in MakeTerm.re to omit the third argument
- Adjusted pattern matching and pretty printing in ExpToSegment.re
- Simplified fixpoint evaluation logic in Evaluator.re by removing closure handling
- Removed extraneous None arguments in builtin definitions

This change simplifies the FixF representation by eliminating the optional closure environment, reducing complexity in term construction and evaluation.
@7h3kk1d 7h3kk1d requested a review from Negabinary November 12, 2025 21:53
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 59.45946% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.82%. Comparing base (346c8f4) to head (d19e90d).

Files with missing lines Patch % Lines
src/language/dynamics/stepper/EvalCtx.re 0.00% 3 Missing ⚠️
src/language/dynamics/stepper/EvaluatorStep.re 0.00% 3 Missing ⚠️
src/language/term/Equality.re 25.00% 3 Missing ⚠️
src/language/proof/ProofHacks.re 0.00% 2 Missing ⚠️
src/language/term/Abbreviate.re 0.00% 2 Missing ⚠️
src/language/proof/MatchExp.re 50.00% 1 Missing ⚠️
src/menhirParser/Conversion.re 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2015      +/-   ##
==========================================
+ Coverage   49.79%   49.82%   +0.03%     
==========================================
  Files         218      218              
  Lines       23109    23099      -10     
==========================================
+ Hits        11506    11508       +2     
+ Misses      11603    11591      -12     
Files with missing lines Coverage Δ
src/haz3lcore/lang/MakeTerm.re 88.29% <100.00%> (+0.23%) ⬆️
src/haz3lcore/pretty/ExpToSegment.re 75.89% <100.00%> (ø)
src/language/builtins/BuiltinsADT.re 98.27% <ø> (ø)
src/language/builtins/BuiltinsList.re 99.91% <ø> (ø)
src/language/dynamics/Substitution.re 81.30% <100.00%> (-0.30%) ⬇️
src/language/dynamics/transition/Transition.re 63.89% <100.00%> (+0.23%) ⬆️
src/language/statics/Elaborator.re 80.37% <100.00%> (ø)
src/language/statics/Statics.re 85.95% <100.00%> (-0.24%) ⬇️
src/language/term/Exp.re 73.11% <100.00%> (ø)
src/language/term/Grammar.re 80.49% <100.00%> (+0.38%) ⬆️
... and 8 more

... and 7 files with indirect coverage changes

🚀 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.

2 participants