use EMPTYP instead of e.g. PLUSP and LENGTH were appropriate
EMPTYP usually (except, maybe, for some user-defined sequence types) has two advantages: 1. it has O(1) runtime while LENGTH can be O(n) 2. it can work on user-defined, infinite sequences (given implementation support and integration of ALEXANDRIA:EMPTYP with the implementation's mechanism as is the case for SBCL)
Please register or sign in to comment