|
|
|
|
|
by kazinator
976 days ago
|
|
The idea of running code up to some resource limit and then aborting it is documented in the Lisp 1.5 manual from 1962, P. 34: 6.4 The Cons Counter and Errorset The cons counter is a useful device for breaking out of program loops. it automatically causes a trap when a certain number of conses have been performed. The counter is turned on by executing count [n], where n is an integer. If n conses are performed before the counter is turned off, a trap will occur and an error diagnostic will be given. |
|