From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lawrence D'Oliveiro Newsgroups: gmane.emacs.help Subject: Re: The fundamental concept of continuations Date: Mon, 15 Oct 2007 11:56:39 +1300 Organization: Geek Central Message-ID: References: <1191906949.179197.217470@57g2000hsv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1192411908 27328 80.91.229.12 (15 Oct 2007 01:31:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 01:31:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 03:31:38 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhEnx-0005Yt-Dc for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 03:31:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhEnq-0003ra-IN for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Oct 2007 21:31:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.aset.psu.edu!news.glorb.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail Original-Newsgroups: comp.lang.scheme, comp.lang.lisp, comp.lang.functional, gnu.emacs.help, comp.lang.python Original-Lines: 8 Original-NNTP-Posting-Host: 203.109.176.166 Original-X-Trace: lust.ihug.co.nz 1192402599 12702 203.109.176.166 (14 Oct 2007 22:56:39 GMT) Original-X-Complaints-To: abuse@ihug.co.nz Original-NNTP-Posting-Date: Sun, 14 Oct 2007 22:56:39 +0000 (UTC) User-Agent: KNode/0.10.4 Original-Xref: shelby.stanford.edu comp.lang.scheme:74473 comp.lang.lisp:231107 comp.lang.functional:62686 gnu.emacs.help:152922 comp.lang.python:516261 X-Mailman-Approved-At: Sun, 14 Oct 2007 21:29:30 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48428 Archived-At: In message , Barb Knox wrote: > Instead of function A returning to its caller, the > caller provides an additional argument (the "continuation") which is a > function B to be called by A with A's result(s). That's just a callback. I've been doing that in C code (and other similar-level languages) for years.