diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-04 14:14:25 +0800 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-05 22:54:14 +0200 |
commit | 55e26a49dbc5fa7ccbf218305d88b0b37db4db3f (patch) | |
tree | 39c618a29dc54a15d5c5c757430d89c01071886b /libguile/array-map.c | |
parent | d888b531681c8528a2daafe0bea70c0a42313da6 (diff) | |
download | guile-55e26a49dbc5fa7ccbf218305d88b0b37db4db3f.tar.gz |
Add `call/ec' and `let/ec'.
Based on a patch by Nala Ginrut <nalaginrut@gmail.com>,
with suggestions from Mark H. Weaver.
* module/ice-9/control.scm (call-with-escape-continuation, call/ec): New
procedures.
(let-escape-continuation, let/ec): New macros.
* module/ice-9/futures.scm (let/ec): Remove.
* test-suite/tests/control.test ("escape-only continuations")["call/ec",
"let/ec"]: New tests.
* doc/ref/api-control.texi (Prompt Primitives): Document `call/ec',
`let/ec', and their long names.
Diffstat (limited to 'libguile/array-map.c')
0 files changed, 0 insertions, 0 deletions