1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-27 02:35:29 +01:00

remove IdSymbol

This commit is contained in:
kalmar 2017-05-12 19:56:26 +02:00
parent 6993c284cd
commit 7528ab631e

View File

@ -19,7 +19,6 @@ end
(==)(s::AutSymbol, t::AutSymbol) = s.gen == t.gen && s.pow == t.pow (==)(s::AutSymbol, t::AutSymbol) = s.gen == t.gen && s.pow == t.pow
hash(s::AutSymbol, h::UInt) = hash(s.gen, hash(s.pow, hash(:AutSymbol, h))) hash(s::AutSymbol, h::UInt) = hash(s.gen, hash(s.pow, hash(:AutSymbol, h)))
IdSymbol(::Type{AutSymbol}) = AutSymbol("(id)", 0, :(id()), id)
function change_pow(s::AutSymbol, n::Int) function change_pow(s::AutSymbol, n::Int)
if n == 0 if n == 0