<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 23/01/14 15:21, Michael Richter wrote:<br>
<blockquote
cite="mid:CAGKutLuYfwP0HPp9w1t728_N6gf-yVGq4xYQgh90sx7zEJOuAA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 23 January 2014 10:20, Peter
Schachte <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:pschachte@gmail.com" target="_blank">pschachte@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> $X
from $Start to $End by $Func<br>
<br>
which is equivalent to {$X,Func($X)} folds {$Start,$End}<br>
</blockquote>
<div><br>
</div>
<div>It's also equivalent to FOR X = 1 TO 100 STEP 3, just a
bit more general. I thought I'd left that behind me in
the '70s. It appears Dijkstra may have been right.<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Dijkstra was usually right.<br>
<br>
Since the expressiveness of the folds and from-to-by syntaxes are
about the same, the matter should be decided on
convenience/readability. So which would you find more readable or
more convenient?<br>
<br>
<pre class="moz-signature" cols="72">--
Peter Schachte All truth goes through three stages. First
University of Melbourne it is ridiculed. Then it is violently
<a class="moz-txt-link-abbreviated" href="mailto:schachte@unimelb.edu.au">schachte@unimelb.edu.au</a> opposed. Finally, it is accepted as
<a class="moz-txt-link-abbreviated" href="http://www.cs.mu.oz.au/~schachte/">www.cs.mu.oz.au/~schachte/</a> self-evident. -- Schoepenhouer
Phone: +61 3 8344 1338
</pre>
</body>
</html>