This is the native-lazy-seq Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:04:07 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
native-lazy-seqLazy sequence using user-extensible sequence protocol.
Qiantan Hong <qthong@stanford.edu>
GPLv3.0+
trivial-package-local-nicknames (system).
trivial-extensible-sequences (system).
iterate (system).
serapeum (system).
native-lazy-seq.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
native-lazy-seq/native-lazy-seq.asdnative-lazy-seq (system).
native-lazy-seq/native-lazy-seq.lispnative-lazy-seq (system).
elt (method).
generator (reader method).
(setf generator) (writer method).
iterator-endp (method).
lazy-seq (macro).
lazy-seq (class).
length (method).
make-sequence-like (method).
make-simple-sequence-iterator (method).
remove-if (method).
remove-if-not (method).
subseq (method).
with-iterators (macro).
call-with-iterators (function).
contents (reader method).
(setf contents) (writer method).
generate-element (function).
Packages are listed by definition order.
native-lazy-seqcommon-lisp.
generator (generic reader).
(setf generator) (generic writer).
lazy-seq (macro).
lazy-seq (class).
with-iterators (macro).
call-with-iterators (function).
contents (generic reader).
(setf contents) (generic writer).
generate-element (function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Construct a lazy sequence.
BODY is evaluated each time we want to generate a new element in the lazy sequence. It should result in two values ELEMENT, PRESENT-P. If there are element to be generated, ELEMENT should be the next ELEMENT and PRESENT-P should be non-nil. Otherwise, PRESENT-P should be nil.
lazy-seq) length &key initial-element initial-contents) ¶sb-sequence.
lazy-seq) &key from-end start end) ¶sb-sequence.
lazy-seq) &key from-end start end count key) ¶sb-sequence.
lazy-seq) &key from-end start end count key) ¶sb-sequence.
Lazy sequence class.
Accept a single initialization argument :GENERATOR, which must be a
function.
The function specifies how to lazily generate elements in the sequence. When it is called with no argument, it must return two values ELEMENT, PRESENT-P. If there are element to be generated, ELEMENT should be the next ELEMENT and PRESENT-P should be non-nil. Otherwise, PRESENT-P should be nil.
Try to generate one more element in lazy sequence S. Return true if such a element is successfully generated.
| Jump to: | (
C E F G I L M R S W |
|---|
| Jump to: | (
C E F G I L M R S W |
|---|
| Jump to: | C G S |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| C | |||
contents: | Public classes | ||
| | |||
| G | |||
generator: | Public classes | ||
| | |||
| S | |||
Slot, contents: | Public classes | ||
Slot, generator: | Public classes | ||
| | |||
| Jump to: | C G S |
|---|
| Jump to: | C F L N P S |
|---|
| Jump to: | C F L N P S |
|---|