[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: COND/DO consistency
I think Blair's suggestion on changing the semantics of DO is quite
good. I'm not sure what else say except this topic should be put on
the agenda for the next R5RS meeting.
John
> | (DO ((<variable_1> <init_1> <step_1>)
> | ...)
> | (<test> <expression>...) ;; NB: <sequence> changed to <expr>...
> | <command_1>...)
> |
> | = (LETREC ((<loop>
> | (LAMBDA (<variable_1>...)
> | (COND (<test> <expression>...) ;; NB: COND
> | (ELSE <command_1> ;; not IF
> | ... ;;
> | (<loop> <step_1>...)))))) ;;
> | (<loop> <init_1>...))