Skip to content

fixes #1182 (renaming Measure_isSFinite_subdef)#1193

Merged
proux01 merged 2 commits intomath-comp:masterfrom
affeldt-aist:fixes_1182
Mar 26, 2024
Merged

fixes #1182 (renaming Measure_isSFinite_subdef)#1193
proux01 merged 2 commits intomath-comp:masterfrom
affeldt-aist:fixes_1182

Conversation

@affeldt-aist
Copy link
Member

Motivation for this change

fixes #1182

what about this renaming @proux01 ?

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Reminder to reviewers

@affeldt-aist affeldt-aist added this to the 1.1.0 milestone Mar 25, 2024
Copy link
Collaborator

@proux01 proux01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an orthogonal remark.
I guess if CI is happy, it's fine not to provide deprecation aliases?

Comment on lines 95 to 97
(* isSFinite == mixin for s-finite measures *)
(* Measure_isSFinite == factory for s-finite measures *)
(* isSigmaFinite == mixin corresponding to sigma finiteness *)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to document factories? It seems that in mathcomp the choice was to document structures and tell users to use HB.howto, HB.about,...
In any case we shouldn't distinguish mixins and factories in the doc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to document factories?

Not sure. measure.v predates MathComp 2 so surely we did not have the discipline.
Yet, because of a "circularity" in the definition of s-finite measures, measure.v is doing something special
so I would be inclined to keep the potentially redundant information here.

In any case we shouldn't distinguish mixins and factories in the doc.

I addressed this by changing everything to "interface".
In the process, I found an error in the doc and also fixed three inconsistencies in the naming of other interfaces.

@affeldt-aist
Copy link
Member Author

I guess if CI is happy, it's fine not to provide deprecation aliases?

I added them, just in case.

@proux01 proux01 merged commit f93f4db into math-comp:master Mar 26, 2024
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.

renaming of Measure_isSFinite_subdef?

2 participants