Loops/Continue: Difference between revisions

Content added Content deleted
Line 2,155: Line 2,155:


=={{header|Scheme}}==
=={{header|Scheme}}==
For R7RS Scheme. In this functional solution, there is no "continue". Instead, the "loop" function is directly called in the tail ([[Category:Recursion|tail recusrion]]).
For R7RS Scheme. In this functional solution, there is no "continue". Instead, the "loop" function is directly called in the tail end (this is [[Recursion|Tail Recursion]]).
{{incorrect|Scheme|}}
<syntaxhighlight lang="scheme">(import (scheme base)
<syntaxhighlight lang="scheme">(import (scheme base)
(scheme write))
(scheme write))