diff --git a/src/Aliases.jl b/src/Aliases.jl index 8de7446753..39ac2b6c33 100644 --- a/src/Aliases.jl +++ b/src/Aliases.jl @@ -184,3 +184,7 @@ @alias MPolyElem MPolyRingElem @alias FiniteField finite_field + +@alias NumberField number_field +@alias CyclotomicField cyclotomic_field +@alias CyclotomicRealSubfield cyclotomic_real_subfield diff --git a/src/Nemo.jl b/src/Nemo.jl index 60fe06c532..bce80a64a3 100644 --- a/src/Nemo.jl +++ b/src/Nemo.jl @@ -79,11 +79,6 @@ export QQBar export ZZ, QQ, finite_field, number_field -# FIXME/TODO: for compatibility with AbstractAlgebra before 0.28.x; remove in the future -@alias PolyRingElem PolyRingElem -@alias MPolyRingElem MPolyRingElem - - ############################################################################### # # Set up environment / load libraries diff --git a/src/antic/nf_elem.jl b/src/antic/nf_elem.jl index 1af1cc7038..2464d90c97 100644 --- a/src/antic/nf_elem.jl +++ b/src/antic/nf_elem.jl @@ -1183,7 +1183,6 @@ function number_field(f::QQPolyRingElem, s::VarName = "_a"; cached::Bool = true, return parent_obj, gen(parent_obj) end -@alias NumberField number_field @doc raw""" cyclotomic_field(n::Int, s::VarName = "z_$n", t = "_\$"; cached = true) @@ -1204,7 +1203,6 @@ function cyclotomic_field(n::Int, s::VarName = "z_$n", t = "_\$"; cached = true) set_attribute!(C, :show => show_cyclo, :cyclo => n) return C, g end -@alias CyclotomicField cyclotomic_field function show_cyclo(io::IO, a::AnticNumberField) @assert is_cyclo_type(a) @@ -1231,7 +1229,6 @@ function cyclotomic_real_subfield(n::Int, s::VarName = "(z_$n + 1/z_$n)", t = "\ set_attribute!(R, :show => show_maxreal, :maxreal => n) return R, a end -@alias CyclotomicRealSubfield cyclotomic_real_subfield function show_maxreal(io::IO, a::AnticNumberField) print(io, "Maximal real subfield of cyclotomic field of order $(get_attribute(a, :maxreal))")