(declare (block) (standard-bindings) (extended-bindings))
(begin
  (define std/srfi/41-iter#:iter::stream-t
    (lambda (_s52928_) (std/srfi/41-iter#in-stream _s52928_)))
  (std/generic/dispatch#generic-bind!
   std/iter#:iter::t
   (cons (std/generic/dispatch#type-linearize-class std/srfi/41#stream-type)
         '())
   std/srfi/41-iter#:iter::stream-t)
  (define std/srfi/41-iter#in-stream
    (lambda (_s52831_)
      (letrec ((_next52833_
                (lambda (_it52835_)
                  (let* ((_it5283652842_ _it52835_)
                         (_E5283852846_
                          (lambda ()
                            (error '"No clause matching" _it5283652842_)))
                         (_K5283952854_
                          (lambda (_e52849_)
                            (if (std/srfi/41#stream-pair? _e52849_)
                                (let ((_first52851_
                                       (std/srfi/41#stream-car _e52849_))
                                      (_rest52852_
                                       (std/srfi/41#stream-cdr _e52849_)))
                                  (##direct-structure-set!
                                   _it52835_
                                   _rest52852_
                                   '1
                                   std/iter#iterator::t
                                   '#f)
                                  _first52851_)
                                std/iter#iter-end))))
                    (if (##structure-direct-instance-of?
                         _it5283652842_
                         'std/iter#iterator::t)
                        (let* ((_e5284052857_ (##vector-ref _it5283652842_ '1))
                               (_e52860_ _e5284052857_))
                          (_K5283952854_ _e52860_))
                        (_E5283852846_))))))
        (let ((__obj52929 (make-object std/iter#iterator::t '3)))
          (std/iter#iterator:::init!__0 __obj52929 _s52831_ _next52833_)
          __obj52929)))))
