Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #44.3K
~1K People Reached
Favorite Tags

3 Posted Topics

Member Avatar for hui_yang

I have never heard “center nested recursion” and googling yields 0 (!) results, so I cannot tell you how to recognise one. But, you can transform [I]every[/I] recursive function into a tail-recursive one by manually passing the call stack as an argument. If this has any advantage depends on the …

Member Avatar for arkoenig
0
172
Member Avatar for feedmeh8

From my first days with scheme… it’s not pretty but it works. Please ignore the markup, “divide-2” is just a function name and “d” just a variable. [CODE=scheme]; divides two numbers until cutoff is reached (define (divide n d cutoff) (let ((step 10)) ; any value >1 will work (define …

Member Avatar for tuffff
0
882
Member Avatar for peasant242

Afaik, the only way for that syntax would be using: [CODE=scheme](define_class class_name content1 ...)[/CODE] and then ckecking [icode](pair? (car content))[/icode] to distinguish them.

Member Avatar for tuffff
0
155

The End.