commit 79c81197b4023c9861f0655be2ebd0c23cc9e9a6
parent d21451cf6050951ba842c7a0b651b71d8ecfb851
Author: tomas <tomas@logand.com>
Date: Thu, 8 Oct 2009 22:09:17 +0200
bug fix in 'print'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wl.java b/wl.java
@@ -515,7 +515,7 @@ class wl implements Runnable {
return null == X ? NIL : mkObj(X.toString());
}});
fn("print", new Fn() {public Any fn(Any E) {
- PrintStream S = (PrintStream) Out.cdr().cxr();
+ PrintStream S = (PrintStream) Out.val().cxr();
Any Z = NIL;
int I = 0;
for(Any X = E.cdr(); NIL != X; X = X.cdr()) {