Skip to content
  • Jan Moringen's avatar
    use EMPTYP instead of e.g. PLUSP and LENGTH were appropriate · 8b89a71b
    Jan Moringen authored
    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)
    8b89a71b