gat@robotics.jpl (Erann Gat) (02/09/91)
Forgive me for what is probably a tired old FAQ, but why did the CL committee decide not to include call-with-current-continuation? Was there some particular reason not to put it in? Was it an oversight? Might it appear in later editions? Thanks, E.
barmar@think.com (Barry Margolin) (02/09/91)
In article <1991Feb8.233230.6832@elroy.jpl.nasa.gov> gat@robotics.jpl (Erann Gat) writes: >Forgive me for what is probably a tired old FAQ, but why did the CL >committee decide not to include call-with-current-continuation? Was >there some particular reason not to put it in? Was it an oversight? It wasn't deemed necessary. Compared to Scheme, Common Lisp support of lexical closures is limited. For example, control transfer targets are only valid during the dynamic extents of the forms that defines them, whereas Scheme allows transfering back into such constructs after they have exited. Since call/cc is primarily concerned with such control closures, there's not as much need for it in CL. A downward-only call/cc can be defined in Common Lisp using existing constructs. >Might it appear in later editions? No one in X3J13 has suggested adding it. -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar