Changeset 10685 in project


Ignore:
Timestamp:
05/02/08 14:26:12 (12 years ago)
Author:
svnwiki
Message:

Changes applied for Shawn Crowley (70.88.167.189) through svnwiki:

The tail recursive Ruby example needed to have the first parameter of the recursive call to 'inner' be subtracted by 1 to successfully reach the base case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/chicken-for-ruby-programmers

    r9194 r10685  
    342342  irb(main):030:3>       y
    343343  irb(main):031:3>     else
    344   irb(main):032:3*       inner(x, x+y)
     344  irb(main):032:3*       inner(x-1, x+y)
    345345  irb(main):033:3>     end
    346346  irb(main):034:2>   end
Note: See TracChangeset for help on using the changeset viewer.