John Cowan: > Alternatively (and most Schemely / Common Lisply in my view): If you > have a value, return it; if you don't have a value, return zero values.
Fair point. One of my goals (not necessarily shared by everyone) is to have a notation and implementation that is easily ported to any Lisp-based languages. It's not clear to me that all Lisp-based languages directly support performing and detecting no-value returns. E.G., I haven't checked, but IIRC, ACL2 does not permit them. That doesn't mean we *can't* do it, but if there's a clean alternative, I'd rather not. In any case, I don't think we need them. Tecursing to t_expr is really simple, clean, and has the effect of retrying. Then we don't need to return "no value"; we just keep trying until we get a value (and EOF is a value). --- David A. Wheeler ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss