diff options
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]) |