Jump to content

Mutual recursion: Difference between revisions

m
(Added Nemerle)
Line 863:
 
=={{header|Nemerle}}==
There's probably some improvement that can be made here, but at least it illustrates the syntax for mutual recursion. It seems that the mutually recursive functions '''must''' be enclosed in an outer function.
<lang Nemerle>using System;
using System.Console;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.