Debian Codegraph @

alexandria-2/sequences.lisp

raw
1 (in-package :alexandria-2)
2
3
4 (defun subseq* (sequence start &optional end)
5 "Like SUBSEQ, but limits END to the length."
6 (subseq sequence start
7 (if end
8 (min end (length sequence)))))
9