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

Re: call/cc





> jmarshall@mak.com writes:
>
> > You can use recursion and constructs other than `goto' (tail-recursive
> > calls) in CPS.

kragen@pobox.com (Kragen Sitaker) writes:
> We must be talking about different things.  In the CPS I'm talking
> about, you can't use recursion in the ordinary way, because none of
> your calls ever return.  

No, we're talking about the same thing.  You *can* use recursion (or
nested calls) in CPS code.  You don't often need to or want to, but
it's there.