Thanks for noticing this. It may also happen if you catch an exception raised
in the body.
We applied a fix to the master branch and also to stability (and 4.7.0.4-st has
now been released).
Jim
On Dec 19, 2011, at 9:40 AM, obscurolocon...@googlemail.com wrote:
I tried the following:
I tried the following:
(define (ignore . args)
(if #f #f))
(define (x)
(call-with-current-continuation
(lambda (return)
(with-input-from-file /etc/motd
(lambda ()
(return (ignore)))
(ignore (x))
This maks csi reading the contents of /etc/motd as source input:
$
Hi,
As I explained on the Chibi list, this is not technically a bug:
The specification of with-input-from-file (in R5RS and R7RS)
states:
If an escape procedure is used to escape from the
continuation of these procedures, their behavior
is implementation dependent.
Hence Chibi
2011/12/19 Alex Shinn alexsh...@gmail.com:
The specification of with-input-from-file (in R5RS and R7RS)
states:
If an escape procedure is used to escape from the
continuation of these procedures, their behavior
is implementation dependent.
I see. The old RnRS problem.
On Tue, Dec 20, 2011 at 1:56 AM, obscurolocon...@googlemail.com wrote:
I see. The old RnRS problem. Everything is either implementation
dependent or unspecified:
$ grep -io implementation-dependent\|unspecified r7rs-draft-1.txt |wc -l
109
The return value of every side-effecting procedure