aboutsummaryrefslogtreecommitdiff
path: root/src/interp/cstream.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-09-26 13:49:18 +0000
committerdos-reis <gdr@axiomatics.org>2009-09-26 13:49:18 +0000
commit91bd7571dc0baf8d17047d553e4616dd587c0ffb (patch)
tree2e2a2eb23ff2cb76b6eb3ae763a480ac1f0078ad /src/interp/cstream.boot
parent868f1d56a5bcd7d712855e98085e0e15d32a3264 (diff)
downloadopen-axiom-91bd7571dc0baf8d17047d553e4616dd587c0ffb.tar.gz
* interp/: More cleanup.
Diffstat (limited to 'src/interp/cstream.boot')
-rw-r--r--src/interp/cstream.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/cstream.boot b/src/interp/cstream.boot
index 85b2b874..5ada55f1 100644
--- a/src/interp/cstream.boot
+++ b/src/interp/cstream.boot
@@ -43,8 +43,8 @@ StreamNull x==
null x or x is ["nullstream",:.] => true
while x is ["nonnullstream",:.] repeat
st:=APPLY(second x,CDDR x)
- RPLACA(x,CAR st)
- RPLACD(x,CDR st)
+ RPLACA(x,first st)
+ RPLACD(x,rest st)
x is ["nullstream",:.]
Delay(f,x)==cons("nonnullstream",[f,:x])