|
|
|
|
Quelle stack-depth-rec.g.out
Sprache: unbekannt
|
|
|
gap> r := rec(); for i in [1..10000] do r := rec(a := r); od;
rec( )
gap> Print(r);
rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a := rec(
a :=
printing stopped, too many recursion levels!
) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) )
gap> String(r);
Error, recursion depth trap (5000) in
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
... at *stdin*:4
you may 'return;'
brk> return; # try once more
Error, recursion depth trap (5000) in
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
String( record.(nam) ) at GAPROOT/lib/record.gi:LINE called from
... at *stdin*:4
you may 'return;'
brk> QUIT;
[ Dauer der Verarbeitung: 0.33 Sekunden
(vorverarbeitet)
]
|
2026-03-28
|
|
|
|
|