diff options
author | dos-reis <gdr@axiomatics.org> | 2009-09-02 16:20:53 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-09-02 16:20:53 +0000 |
commit | d2c2747da6be576cc592bcb3f046356af2bfca9b (patch) | |
tree | a4108a95f284d9ee425f32d4027db0edab9975f4 /src/interp/cstream.boot | |
parent | 327b4fb2c149c02dd72f3d8f6070b6e0144828ee (diff) | |
download | open-axiom-d2c2747da6be576cc592bcb3f046356af2bfca9b.tar.gz |
* interp/cstream.boot: Cleanup.
* interp/g-boot.boot: Likewise.
* interp/i-funsel.boot: Likewise.
* interp/i-map.boot: Likewise.
* interp/i-resolv.boot: Likewise.
* interp/i-spec2.boot: Likewise.
* interp/mark.boot: Likewise.
* interp/nrungo.boot: Likewise.
* interp/posit.boot: Likewise.
* interp/sys-constants.boot: Define more constants.
Diffstat (limited to 'src/interp/cstream.boot')
-rw-r--r-- | src/interp/cstream.boot | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/cstream.boot b/src/interp/cstream.boot index 08e8ab97..5695f37a 100644 --- a/src/interp/cstream.boot +++ b/src/interp/cstream.boot @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007, Gabriel Dos Reis. +-- Copyright (C) 2007-2009, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -40,12 +40,12 @@ namespace BOOT npNull x== StreamNull x StreamNull x== - null x or EQCAR (x,"nullstream") => true - while EQCAR(x,"nonnullstream") repeat + null x or x is ["nullstream",:.] => true + while x is ["nonnullstream",:.] repeat st:=APPLY(CADR x,CDDR x) RPLACA(x,CAR st) RPLACD(x,CDR st) - EQCAR(x,"nullstream") + x is ["nullstream",:.] Delay(f,x)==cons("nonnullstream",[f,:x]) |