1

在 GAP 命令行解释器中出现错误后,导致错误的函数调用链被截断,因此我可以看到链的开头,这是我需要修复的函数。

gap> MyAwesomeFunction(x,y);
Error, resulting list would be too large (length infinity) called from
ConstantTimeAccessList( enum ) at /path/to/gap/lib/coll.gi:506 called from
AsList( l ) at /path/to/gap/lib/list.gi:612 called from
AsPlist( l ) at /path/to/gap/lib/list.gi:673 called from
EnumeratorSorted( Enumerator( D ) ) at /path/to/gap/lib/domain.gi:231 called from
EnumeratorSorted( C ) at /path/to/gap/lib/coll.gi:862 called from
...  at line 4 of *stdin*
you can 'quit;' to quit to outer loop, or
you can 'return;' to continue
brk>

我如何告诉 GAP 在这里向我展示完整的功能链?这背后是...什么?

4

1 回答 1

0

根据Alexander Konovalov 的评论Where函数是这里的关键。进入Where(42)中断外观将在这个“调用自”链中显示多达 42 个函数。

于 2020-07-08T16:40:05.877 回答