Jump to content

Find limit of recursion: Difference between revisions

m
→‎{{header|R}}: whitespace
m (→‎{{header|Ada}}: whitespace)
m (→‎{{header|R}}: whitespace)
Line 455:
=={{header|R}}==
R's recursion is counted by the number of expressions to be evaluated, rather than the number of function calls.
<lang r>#Get the limit
#Get the limit
options("expressions")
 
Line 469 ⟶ 468:
 
}
recurse(0)</lang>
</lang>
 
=={{header|Ruby}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.