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

Re: a bug

This page is part of the web mail archives of SRFI 71 from before July 7th, 2015. The new archives for SRFI 71 contain all messages, not just those from before July 7th, 2015.




Joo ChurlSoo wrote:
> Although no response, I report a bug.
>
> >
> (srfi-let (( a (begin (display "first") (newline) 10))
>       (b c (values 20 (begin (display "second") (newline) 30)))
>       ( d (begin (display "third") (newline) 1000))
>       ((values e f . g) (values 1 (begin (display "end") (newline) 2))))
>      (display (list a b c d e f g))
>      (newline))
> second
> end
> first
> third
> (10 20 30 1000 1 2 ())
>
> ;;; The (a b) form should be evaluated once before conversion.


I don't understand. What is wrong in the example above, and what
do you mean by "(a b) form"?

Sebastian.