Implement STREAM-FIRST and STREAM-REST as aliases for STREAM-CAR and
authorChris Hanson <org/chris-hanson/cph>
Fri, 24 Jul 1992 22:19:35 +0000 (22:19 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 24 Jul 1992 22:19:35 +0000 (22:19 +0000)
STREAM-CDR, respectively.

v7/src/runtime/runtime.pkg
v7/src/runtime/stream.scm
v8/src/runtime/runtime.pkg

index 98849eef7087f713435372de409b470598782c42..5bae834cd7e2429a7390c8544de8996c202a6589 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/runtime.pkg,v 14.156 1992/07/10 22:10:33 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/runtime.pkg,v 14.157 1992/07/24 22:19:35 cph Exp $
 
 Copyright (c) 1988-92 Massachusetts Institute of Technology
 
@@ -2204,12 +2204,14 @@ MIT in each case. |#
          stream->list
          stream-car
          stream-cdr
+         stream-first
          stream-head
          stream-length
          stream-map
          stream-null?
          stream-pair?
          stream-ref
+         stream-rest
          stream-tail
          tail
          the-empty-stream)
index a807799e1f714ee496b842801fed90eb6fdf3736..94713378411bf3ffd26c007757795b1bc07ac3ec 100644 (file)
@@ -1,8 +1,8 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/stream.scm,v 14.6 1989/10/26 06:47:07 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/stream.scm,v 14.7 1992/07/24 22:19:28 cph Exp $
 
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988-92 Massachusetts Institute of Technology
 
 This material was developed by the Scheme project at the Massachusetts
 Institute of Technology, Department of Electrical Engineering and
@@ -50,6 +50,9 @@ MIT in each case. |#
 (define-integrable (stream-cdr stream)
   (force (cdr stream)))
 
+(define-integrable stream-first stream-car)
+(define-integrable stream-rest stream-cdr)
+
 (define (stream . list)
   (list->stream list))
 
index d2e6e1844cde827000f02a9d49011b64af9df41a..c366aaa3e23a2cf2d757ce533d3b1de2ba29d551 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/runtime.pkg,v 14.156 1992/07/10 22:10:33 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/runtime.pkg,v 14.157 1992/07/24 22:19:35 cph Exp $
 
 Copyright (c) 1988-92 Massachusetts Institute of Technology
 
@@ -2204,12 +2204,14 @@ MIT in each case. |#
          stream->list
          stream-car
          stream-cdr
+         stream-first
          stream-head
          stream-length
          stream-map
          stream-null?
          stream-pair?
          stream-ref
+         stream-rest
          stream-tail
          tail
          the-empty-stream)