1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-26 02:20:30 +01:00

remove "Base.{...}"

This commit is contained in:
kalmarek 2018-09-21 18:46:17 +02:00
parent fbc4d8aec7
commit b5af5fc9b5

View File

@ -62,10 +62,10 @@ for (Elem, op) in ([:MltGrpElem, :*], [:AddGrpElem, :+])
end end
end end
Base.show(io::IO, G::MltGrp) = print(io, "The multiplicative group of $(G.obj)") show(io::IO, G::MltGrp) = print(io, "The multiplicative group of $(G.obj)")
Base.show(io::IO, G::AddGrp) = print(io, "The additive group of $(G.obj)") show(io::IO, G::AddGrp) = print(io, "The additive group of $(G.obj)")
Base.show(io::IO, g::Union{MltGrpElem, AddGrpElem}) = show(io, g.elt) show(io::IO, g::Union{MltGrpElem, AddGrpElem}) = show(io, g.elt)
gens(F::AbstractAlgebra.Field) = elem_type(F)[gen(F)] gens(F::AbstractAlgebra.Field) = elem_type(F)[gen(F)]