Loops/Continue: Difference between revisions
Content added Content deleted
Simple9371 (talk | contribs) m (→{{header|Scheme}}: fix) |
Simple9371 (talk | contribs) m (→{{header|Scheme}}: oops) |
||
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 ([[ |
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)) |