Skip to content

[ refactor ] cosmetic improvement to Algebra.Construct.Initial #2759

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesmckinna
Copy link
Contributor

@jamesmckinna jamesmckinna commented Jul 7, 2025

PR #2546 fixed a v2.8.0 compatibility issue regarding inference of implicit arguments in instantiation of record fields.

This PR tidies up those changes:

  • to be less noisy
  • to add two more definitions which don't incur the problem.

Badged as v2.3, because it 'fixes' an earlier v2.3 issue/pr but could easily be bumped to v2.4.

The original refactoring hoped to define a single module ℤero from which all subsequent definitions could be given by record subtyping simply as ... = record { ℤero }, but that dream has now evaporated. So it might be worth simply abandoning the explicit definition altogether, although the book-keeping overhead outweighs the benefit. Could make this breaking for v3.0, though!?

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

Successfully merging this pull request may close these issues.

2 participants