chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] eval and ports


From: Dan
Subject: [Chicken-users] eval and ports
Date: Tue, 23 May 2006 15:41:56 -0700 (PDT)

Maybe I'm just to tired, but the following doesn't
seem right:

cafe$ csi
#;1> (let ((o (current-output-port)))
       (eval `(write 1 ,o)))
Error: invalid syntax: #<output port (stdout)>

It works in SISC, but bombs in Guile and Scsh. What am
I missing? And how can I pass a port value to an
eval'd expression ?

-- Dan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]