chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Re: A few questions


From: John Cowan
Subject: Re: [Chicken-users] Re: A few questions
Date: Thu, 31 Jan 2008 22:16:05 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

Elf scripsit:

> they'll all be call-with-values on the inside, or the equivalent thereof.

Almost.  When you have one of these restricted macros, you can be quite
sure that the producer and consumer lambdas don't escape the construct.
That allows certain optimizations that would otherwise be difficult or
(in the presence of call/cc) impossible, like not actually having them
(as I said, having the producer put its n returned values into n registers
where the consumer code (the body) expects to find them.

-- 
It was dreary and wearisome.  Cold clammy winter still held way in this
forsaken country.  The only green was the scum of livid weed on the dark
greasy surfaces of the sullen waters.  Dead grasses and rotting reeds loomed
up in the mists like ragged shadows of long-forgotten summers.
        --"The Passage of the Marshes"          http://www.ccil.org/~cowan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]