Monday, June 27, 2005

Quickest way to circumvent tail-recursion in Scheme

Replace exp with (values exp).

5 comments:

Anonymous said...

In which implementation is that? I tried Gambit-C, Chicken and Scheme48, and didn't encounter the problem...

Dave Herman said...

I used PLT Scheme.

It's not a problem, though, it's proper behavior by definition. Procedure arguments are in non-tail position.

EURO-RITE kitchen Builder said...

Bridge City is a Reputable Cabinetry & Renovations Contractor. We Provide Services in EURO-RITE Kitchen Design and Construction. We are a Quality Renovation Contractor that Renews and Brings Life back to Existing Properties no Matter what kind of Space you are Looking to Renovate: Bathrooms, Living Rooms, Kitchens, or Other Living Spaces.

fitness with dina said...


Not all hope was lost, though. Remember that determination I was talking about? I knew I was destined for something more; something greater than myself.

waterproof foundation edmonton said...

Ramma foundation is a company and a foundation that provide crack repair snow remove and gutter clean service. We are the crack repair foundation in Alberta Edmonton. We provide services like crack repair, gutter clean services, show removal, in short we are the foundation repair in Edmonton. If you are worried about the cracks on your home do not worry we are here to get it repair. If you are worried about snow on your roof, we can remove it. We are here to clean you gutter.