From: Frank Atanassow <franka@cs.uu.nl>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: Al Christians <achrist@easystreet.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Queens examples
Date: Mon, 27 Aug 2001 12:53:06 +0200 [thread overview]
Message-ID: <20010827125306.A5903@cs.uu.nl> (raw)
In-Reply-To: <0108261423530A.02716@ice>; from info@gerd-stolpmann.de on Sun, Aug 26, 2001 at 01:33:40PM +0200
Gerd Stolpmann wrote (on 26-08-01 13:33 +0200):
> The point is that the recursive call (concmap f t) occurs within an
> expression, and the current execution environment must be saved on the stack
> before the self-invocation such that it is still available when the
> containing expression (f h (concmap f t)) is being evaluated. This is what
> all programming languages do when recursive definitions are executed.
First, stack allocation of activation frames is more usually a property of a
programming language implementation, than of the programming language itself.
Second, the last statement is false. For example, SML/NJ, Stackless Python and
undoubtedly some implementations of Scheme all allocate activation frames on
the heap (in order to support first-class continuations efficiently).
--
Frank Atanassow, Information & Computing Sciences, Utrecht University
Padualaan 14, PO Box 80.089, 3508 TB Utrecht, Netherlands
Tel +31 (030) 253-3261 Fax +31 (030) 251-379
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-08-27 10:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-26 7:25 Al Christians
2001-08-26 11:33 ` Gerd Stolpmann
2001-08-26 13:57 ` Laurent Chéno
2001-08-27 10:53 ` Frank Atanassow [this message]
2001-08-27 15:25 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010827125306.A5903@cs.uu.nl \
--to=franka@cs.uu.nl \
--cc=achrist@easystreet.com \
--cc=caml-list@inria.fr \
--cc=info@gerd-stolpmann.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox