From ba3ca8a0ba7e4065504a54f0e7cd2b4a62583b66 Mon Sep 17 00:00:00 2001 From: kalmar Date: Thu, 11 May 2017 17:38:07 +0200 Subject: [PATCH] show should be implemented for concrete subtypes of GSymbol --- src/Groups.jl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Groups.jl b/src/Groups.jl index 3c240d4..20373bc 100644 --- a/src/Groups.jl +++ b/src/Groups.jl @@ -21,15 +21,6 @@ doc""" """ abstract GSymbol -function show(io::IO, s::GSymbol) - if s.pow == 0 - print(io, "(id)") - elseif s.pow == 1 - print(io, s.gen) - else - print(io, (s.gen)*"^$(s.pow)") - end -end length(s::GSymbol) = (s.pow == 0 ? 0 : 1)