Re: Queries about while doc and (ice-9 command-line)

2011-05-02 Thread Neil Jerram
Andy Wingo writes: >> Does this code mean that we load the script twice, in the -ds case? > > I think so, yes; unfortunately. Fixed. Would this merit a quick 2.0.2, > you think? I guess that would be better, if Ludo has time to make the release. >> Do we go interactive after seeing a -e optio

Re: Queries about while doc and (ice-9 command-line)

2011-04-28 Thread Andy Wingo
Hi Neil, Thanks for the review! On Thu 28 Apr 2011 20:12, Neil Jerram writes: > +@example > +(while #f (error "not reached")) @result{} #f > +(while #t (break)) @result{} #t > +(while #f (break 1 2 3)) @result{} 1 2 3 > +@end example > > I think the #f in the last while line should be #t. Inde

Queries about while doc and (ice-9 command-line)

2011-04-28 Thread Neil Jerram
Hi there, I was looking today at some recent commits, and noticed a few queries... In http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=91956a94fe6363cf69d574b56397962ec6ef4468: +@example +(while #f (error "not reached")) @result{} #f +(while #t (break)) @result{} #t +(while #f