File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -384,7 +384,13 @@ InstallMethod( PrintObj,
384
384
true ,
385
385
[ HasName ] ,
386
386
SUM_FLAGS, # override anything specific
387
- function ( obj ) Print( Name( obj ) ); end );
387
+ function ( obj )
388
+ if ISBOUND_GLOBAL( Name( obj ) ) then
389
+ Print( Name( obj ) );
390
+ else
391
+ TryNextMethod ();
392
+ fi ;
393
+ end );
388
394
389
395
390
396
# ############################################################################
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ PSL(2,59)
41
41
42
42
#
43
43
gap> it := SimpleGroupsIterator(20000 ,80000 : NOPSL2);;
44
- gap> for g in it do Print(g, " \n " ); od ;
44
+ gap> for g in it do View( g ); Print( " \n " ); od ;
45
45
A8
46
46
PSL(3 ,4 )
47
47
PSp(4 ,3 )
@@ -50,7 +50,7 @@ PSU(3,4)
50
50
gap> IsDoneIterator(it);
51
51
true
52
52
gap> it:= SimpleGroupsIterator(1053927211015007279 ,1053927211015007281 );;
53
- gap> for g in it do Print(g, " \n " ); od ;
53
+ gap> for g in it do View( g ); Print( " \n " ); od ;
54
54
PSL(3 ,179 )
55
55
56
56
#
You can’t perform that action at this time.
0 commit comments