A list of zero or more
(abstract-alt-rest trees) → concatenations
Function:
(defun abstract-alt-rest (trees) (declare (xargs :guard (tree-listp trees))) (b* (((fun (fail)) (abstract-fail)) ((when (endp trees)) nil) ((cons tree trees) trees) ((unless (tree-case tree :nonleaf)) (fail)) (concatenation (abstract-alt-rest-comp tree)) (concatenations (abstract-alt-rest trees))) (cons concatenation concatenations)))