Talk:Scheme (programming language): Difference between revisions

Content deleted Content added
Sokleidas (talk | contribs)
Sokleidas (talk | contribs)
Line 135:
</syntaxhighlight>
 
It is of course a matter of taste anand style, but functional parts of a program should be separated from imperative parts (cf. e. g. Conrad Barski, Land of Lisp, San Francisco 2011, p. 302). Displaying the results could be done with <code>for-each</code>, which according to R5RS is explicitly to be called because of its side-effects:
 
<syntaxhighlight lang="Scheme">
Line 158:
5 5
</syntaxhighlight>
[[User:Sokleidas|Sokleidas]] ([[User talk:Sokleidas|talk]]) 22:2830, 7 November 2012 (UTC)