prelude: :gerbil/compiler/ssxi
package: std/srfi

(begin
  (declare-type
   std/srfi/41#stream-type
   (@struct-type std/srfi/41#stream-type #f 1 #f ((fields: box))))
  (declare-type std/srfi/41#stream? (@struct-pred std/srfi/41#stream-type))
  (declare-type
   std/srfi/41#stream-promise
   (@struct-getf std/srfi/41#stream-type 0 #f))
  (declare-type
   std/srfi/41#stream-promise!
   (@struct-setf std/srfi/41#stream-type 0 #f))
  (declare-type std/srfi/41#make-stream (@struct-cons std/srfi/41#stream-type))
  (declare-type std/srfi/41#stream-eager (@lambda 1 #f))
  (declare-type std/srfi/41#stream-force (@lambda 1 #f))
  (declare-type
   std/srfi/41#stream-pare-type
   (@struct-type std/srfi/41#stream-pare-type #f 2 #f ((fields: kar kdr))))
  (declare-type
   std/srfi/41#stream-pare?
   (@struct-pred std/srfi/41#stream-pare-type))
  (declare-type
   std/srfi/41#stream-kar
   (@struct-getf std/srfi/41#stream-pare-type 0 #f))
  (declare-type
   std/srfi/41#stream-kdr
   (@struct-getf std/srfi/41#stream-pare-type 1 #f))
  (declare-type
   std/srfi/41#make-stream-pare
   (@struct-cons std/srfi/41#stream-pare-type))
  (declare-type std/srfi/41#stream-pair? (@lambda 1 #f))
  (declare-type std/srfi/41#stream-null? (@lambda 1 #f))
  (declare-type std/srfi/41#stream-car (@lambda 1 #f))
  (declare-type std/srfi/41#stream-cdr (@lambda 1 #f))
  (declare-type std/srfi/41#exists (@lambda (1) #f))
  (declare-type std/srfi/41#list->stream (@lambda 1 #f))
  (declare-type std/srfi/41#port->stream (@lambda (0) #f))
  (declare-type std/srfi/41#stream->list (@lambda (0) #f))
  (declare-type std/srfi/41#stream-append (@lambda (0) #f))
  (declare-type std/srfi/41#stream-concat (@lambda 1 #f))
  (declare-type std/srfi/41#stream-constant (@lambda (0) #f))
  (declare-type std/srfi/41#stream-drop (@lambda 2 #f))
  (declare-type std/srfi/41#stream-drop-while (@lambda 2 #f))
  (declare-type std/srfi/41#stream-filter (@lambda 2 #f))
  (declare-type std/srfi/41#stream-fold (@lambda 3 #f))
  (declare-type std/srfi/41#stream-for-each (@lambda (1) #f))
  (declare-type std/srfi/41#stream-from (@lambda (1) #f))
  (declare-type std/srfi/41#stream-iterate (@lambda 2 #f))
  (declare-type std/srfi/41#stream-length (@lambda 1 #f))
  (declare-type std/srfi/41#stream-map (@lambda (1) #f))
  (declare-type std/srfi/41#stream-range (@lambda (2) #f))
  (declare-type std/srfi/41#stream-ref (@lambda 2 #f))
  (declare-type std/srfi/41#stream-reverse (@lambda 1 #f))
  (declare-type std/srfi/41#stream-scan (@lambda 3 #f))
  (declare-type std/srfi/41#stream-take (@lambda 2 #f))
  (declare-type std/srfi/41#stream-take-while (@lambda 2 #f))
  (declare-type std/srfi/41#stream-unfold (@lambda 4 #f))
  (declare-type std/srfi/41#stream-unfolds (@lambda 2 #f))
  (declare-type std/srfi/41#stream-zip (@lambda (0) #f)))
