- (cons-stream a d) → streamsyntax
Constructs a stream; returns a stream whose stream-car is a and whose stream-cdr is a delayed d.
- a
- The address part
- d
- The decrement part
(define-syntax cons-stream (ir-macro-transformer (lambda (expression rename inject) (match expression ((_ a b) `(cons ,a (delay ,b)))))))