mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-24 01:55:29 +01:00
no multiplication of GSymbols -- no Words without parents allowed
This commit is contained in:
parent
528228e46e
commit
1c7113932d
@ -24,8 +24,6 @@ abstract GSymbol
|
||||
|
||||
length(s::GSymbol) = (s.pow == 0 ? 0 : 1)
|
||||
|
||||
(*){T<:GSymbol}(s::T, t::T) = return GWord{T}([s])*t
|
||||
|
||||
change_pow(s::GSymbol, n::Int) = throw(ArgumentError("Define change_pow function for $(typeof(s))!"))
|
||||
|
||||
symbols::Vector{T}
|
||||
|
Loading…
Reference in New Issue
Block a user