We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Type renamings in #1376.
#!/bin/sh # # some settings that avoid weirdness in sed when it tries to # adapt to your locale (e.g. if your system uses German as system language) export LANG=C export LC_CTYPE=C export LC_ALL=C # Files to modify (default uses all files known to git, # but obviously you can modify it) FILES=$(git ls-files) # on macOS, you may need to change the following SED_I="sed -i" #SED_I="gsed -i" #SED_I="sed -i ''" # from https://github.com/Nemocas/AbstractAlgebra.jl/pull/1574 $SED_I \ -e "s;\bMatAlgElem\b;MatRingElem;g" \ -e "s;\bMatAlgebra\b;MatRing;g" \ -e "s;\bMatrixAlgebra\b;matrix_ring;g" \ $FILES $SED_I \ -e "s;\bFlintPadicField\b;PadicField;g" \ -e "s;\bpadic\b;PadicFieldElem;g" \ -e "s;\bFlintQadicField\b;QadicField;g" \ -e "s;\bqadic\b;QadicFieldElem;g" \ -e "s;\barb_poly\b;ArbPolyRingElem;g" \ -e "s;\barb_mat\b;ArbMatrix;g" \ -e "s;\barb\b;ArbFieldElem;g" \ -e "s;\bacb_poly\b;AcbPolyRingElem;g" \ -e "s;\bacb_mat\b;AcbMatrix;g" \ -e "s;\bacb\b;AcbFieldElem;g" \ -e "s;\bca\b;CalciumFieldElem;g" \ -e "s;\bLoc\b;LocalizedEuclideanRing;g" \ -e "s;\bLocElem\b;LocalizedEuclideanRingElem;g" \ -e "s;\blll_ctx\b;LLLContext;g" \ -e "s;\bqqbar\b;QQBarFieldElem;g" \ -e "s;\bCalciumQQBarField\b;QQBarField;g" \ -e "s;\bFlintQQiField\b;QQiField;g" \ -e "s;\bfmpqi\b;QQiFieldElem;g" \ -e "s;\bFlintZZiRing\b;ZZiRing;g" \ -e "s;\bfmpzi\b;ZZiRingElem;g" \ -e "s;\bfmpzUnitRange\b;ZZRingElemUnitRange;g" \ $FILES # Number field related $SED_I \ -e "s;\bAnticNumberField\b;AbsSimpleNumField;g" \ -e "s;\bnf_elem\b;AbsSimpleNumFieldElem;g" \ -e "s;\bNfAbsNS\b;AbsNonSimpleNumField;g" \ -e "s;\bNfAbsNSElem\b;AbsNonSimpleNumFieldElem;g" \ -e "s;\bNfRel\b;RelSimpleNumField;g" \ -e "s;\bNfRelElem\b;RelSimpleNumFieldElem;g" \ -e "s;\bNfRelNS\b;RelNonSimpleNumField;g" \ -e "s;\bNfRelNSElem\b;RelNonSimpleNumFieldElem;g" \ -e "s;\bNfToNfMor\b;NumFieldMor;g" \ -e "s;\bNumFieldOrd\b;NumFieldOrder;g" \ -e "s;\bNumFieldOrdElem\b;NumFieldOrderElem;g" \ -e "s;\bNumFieldOrdIdl\b;NumFieldOrderIdeal;g" \ -e "s;\bNumFieldOrdFracIdl\b;NumFieldOrderFractionalIdeal;g" \ -e "s;\bNfAbsOrd\b;AbsNumFieldOrder;g" \ -e "s;\bNfAbsOrdElem\b;AbsNumFieldOrderElem;g" \ -e "s;\bNfAbsOrdSet\b;AbsNumFieldOrderSet;g" \ -e "s;\bNfAbsOrdIdl\b;AbsNumFieldOrderIdeal;g" \ -e "s;\bNfAbsOrdIdlSet\b;AbsNumFieldOrderIdealSet;g" \ -e "s;\bNfAbsOrdFracIdl\b;AbsNumFieldOrderFractionalIdeal;g" \ -e "s;\bNfAbsOrdFracIdlSet\b;AbsNumFieldOrderFractionalIdealSet;g" \ -e "s;\bNfRelOrd\b;RelNumFieldOrder;g" \ -e "s;\bNfRelOrdElem\b;RelNumFieldOrderElem;g" \ -e "s;\bNfRelOrdIdl\b;RelNumFieldOrderIdeal;g" \ -e "s;\bNfRelOrdFracIdl\b;RelNumFieldOrderFractionalIdeal;g" \ -e "s;\bNfAbsNSToNfAbsNS\b;NumFieldAut{AbsNonSimpleNumField};g" \ -e "s;\bNfToNfMor\b;NumFieldAut{AbsSimpleNumField};g" \ -e "s;\bNumFieldMor\b;NumFieldHom;g" \ -e "s;\bNfAbsToNfAbsNS\b;NumFieldHom{AbsSimpleNumField, AbsNonSimpleNumField};g" \ -e "s;\bNfToNfRel\b;NumFieldHom{AbsSimpleNumField, RelSimpleNumField{AbsSimpleNumFieldElem}};g" \ -e "s;\bNfRelToNfRelMor_nf_elem_nf_elem\b;NumFieldHom{RelSimpleNumField{AbsSimpleNumFieldElem}, RelSimpleNumField{AbsSimpleNumFieldElem}};g" \ -e "s;\bNfRelToNf\b;NumFieldHom{RelSimpleNumField{AbsSimpleNumFieldElem}, AbsSimpleNumField};g" \ -e "s;\bNfRelNSToNfRelNSMor_nf_elem\b;NumFieldHom{RelNonSimpleNumField{AbsSimpleNumFieldElem}, RelNonSimpleNumField{AbsSimpleNumFieldElem}};g" \ -e "s;\bNfRelToNfRelNSMor_nf_elem\b;NumFieldHom{RelSimpleNumField{AbsSimpleNumFieldElem}, RelNonSimpleNumField{AbsSimpleNumFieldElem}};g" \ -e "s;\bNfOrd\b;AbsSimpleNumFieldOrder;g" \ -e "s;\bNfOrdElem\b;AbsSimpleNumFieldOrderElem;g" \ -e "s;\bNfOrdIdl\b;AbsSimpleNumFieldOrderIdeal;g" \ -e "s;\bNfOrdFracIdlSet\b;AbsSimpleNumFieldOrderFractionalIdealSet;g" \ -e "s;\bNfOrdFracIdl\b;AbsSimpleNumFieldOrderFractionalIdeal;g" \ -e "s;\bNfOrdQuoRing\b;AbsSimpleNumFieldOrderQuoRing;g" \ -e "s;\bNfOrdQuoRingElem\b;AbsSimpleNumFieldOrderQuoRingElem;g" \ -e "s;\bNumFieldEmbNfAbs\b;AbsSimpleNumFieldEmbedding;g" \ -e "s;\bNumFieldEmbNfAbsNS\b;AbsNonSimpleNumFieldEmbedding;g" \ -e "s;\bNumFieldEmbNfRel\b;RelSimpleNumFieldEmbedding;g" \ -e "s;\bNumFieldEmbNfNS\b;RelNonSimpleNumFieldEmbedding;g" \ -e "s;\bEmbeddedField\b;EmbeddedNumField;g" \ -e "s;\bEmbeddedElem\b;EmbeddedNumFieldElem;g" \ $FILES # Algebras related $SED_I \ -e "s;\bAbsAlgAss\b;AbstractAssociativeAlgebra;g" \ -e "s;\bAbsAlgAssElem\b;AbstractAssociativeAlgebraElem;g" \ -e "s;\bAlgAss\b;StructureConstantAlgebra;g" \ -e "s;\bAlgAssElem\b;AssociativeAlgebraElem;g" \ -e "s;\bAlgGrp\b;GroupAlgebra;g" \ -e "s;\bAlgGrpElem\b;GroupAlgebraElem;g" \ -e "s;\bAlgMat\b;MatAlgebra;g" \ -e "s;\bAlgMatElem\b;MatAlgebraElem;g" \ -e "s;\bAlgQuat\b;QuaternionAlgebra;g" \ $FILES # Finitely generated groups $SED_I \ -e "s;\bGrpAbFinGen\b;FinGenAbGroup;g" \ -e "s;\bGrpAbFinGenElem\b;FinGenAbGroupElem;g" \ -e "s;\bGrpAbFinGenMap\b;FinGenAbGroupHom;g" \ -e "s;\bGrpAbToGrpGenMor\b;FinGenAbGroupToGroupHom;g" \ -e "s;\bGrpGen\b;MultTableGroup;g" \ -e "s;\bGrpGenElem\b;MultTableGroupElem;g" \ -e "s;\bGrpGenToGrpAbMor\b;MultTableGroupToGroupHom;g" \ -e "s;\bGrpGenToGrpGenMor\b;MultTableGroupHom;g" \ $FILES # Elliptic curves $SED_I \ -e "s;\bEllCrv\b;EllipticCurve;g" \ -e "s;\bEllCrvPt\b;EllipticCurvePoint;g" \ $FILES
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Type renamings in #1376.
Number field related
Algebras related
Finitely generated groups
Elliptic curves
Renaming script
The text was updated successfully, but these errors were encountered: