-
Notifications
You must be signed in to change notification settings - Fork 58
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
The big renaming #1376
The big renaming #1376
Conversation
Also, we wanted to rename |
I merged #1367 yesterday, because it is related. To quote from #1367 (comment)
Ideally a user will never see an |
Codecov Report
@@ Coverage Diff @@
## master #1376 +/- ##
==========================================
+ Coverage 88.43% 88.45% +0.02%
==========================================
Files 88 88
Lines 34327 34327
==========================================
+ Hits 30356 30363 +7
+ Misses 3971 3964 -7
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Thank you, I hadn't noticed, and will read up there now.
Oh sure -- I didn't mean to complain about the names there (or anything, for that matter), it was just a bit of confusion yesterday when we discovered But now this seems clearer:
So basically we use |
Yes, that sounds good. |
I've now renamed Alas, there is already a type |
there is a reason it is big renaming and not just renaming :) |
The rules for this will be described in the OSCAR dev manual
Is squash fine? |
The branch protection rules are confused by the fact that we are not testing against the |
ARGH I accidentally rebased instead of a merge. I'll fix it |
Companion to Nemocas/AbstractAlgebra.jl#1267, thofma/Hecke.jl#977, oscar-system/Oscar.jl#1972
This is WIP on the big type renaming, see also https://hackmd.io/0hrBHIUrRZG23xiZZ0NCEA?both for our notes (these are partially outdated and misleading, we are working on that).
One issue with this PR is that we rename
FqDefaultPolyRing
=>FqPolyRing
FqPolyRing
=>FqPolyRepPolyRing
So the name
FqPolyRing
is both an old and a new type name, albeit with different meanings, which is unfortunate.Actually, this could be avoided because
FqPolyRing
is not the final name we want anyway... Right now we do these renamings:FqDefaultFiniteField
=>FqField
FqDefaultMatSpace
=>FqMatrixSpace
FqDefaultMPolyRing
=>FqMPolyRing
FqDefaultPolyRing
=>FqPolyRing
but we really would prefer to just call this
FinField
,FinFieldMatrixSpace
, etc. (or perhapsFiniteField
, ...?) butFinField
is already an abstract type in AbstractAlgebra... We could rename that, or just re-use the name (by not importingFinField
from AA into Nemo), but all of these involve further discussions and decisions which is why I did not yet attempt this here.Also missing are the various SeriesRings/SeriesElem. I'll work on those tomorrow
And of course there are more things to be done in AA, Oscar, Hecke
TODOs (either in this PR or a follow up):
_series
typesfmpz.jl
), OR if we keep them, ensure we reference them correctly in code and docsdocs/src/developer/introduction.md:58
) with a table translating old "Flint names" likefmpz
to new "Nemo names" likeZZRingElem
- explain what the type represents
- mentions Flint names, if applicable
- gives an example how to create an instance (ideally as a
jldoctest
)