On 14 Sep 2009, at 8:36 pm, Andre van Tonder wrote: > I agree, this has always been the case for evaluation of forms. > I maintain that left-to-right (1-pass) is the simplest and most > understandable way of expanding a program as well. > Definitely at the toplevel. I would propose also for > internal bodies, but the latter may well be an uphill battle. > >> Still left open is the original question: is a library body a top- >> level >> implicit begin, or an internal implicit begin? > > I think definitely a libray should be like a toplevel. > It simplifies development and testing.
In summary, I think I agree, with the rationale that having one rule for everything - toplevels, REPLs, library bodies, and implicit or explicit begins, or as close as possible to the same rule for everything - provides "least surprise". > > Andre > ABS -- Alaric Snell-Pym Work: http://www.snell-systems.co.uk/ Play: http://www.snell-pym.org.uk/alaric/ Blog: http://www.snell-pym.org.uk/archives/author/alaric/ _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
