diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-11-04 21:37:42 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-11-04 21:37:42 -0800 |
commit | 7deb862ac8925c4ced0246adbd79b353b88512d8 (patch) | |
tree | e33fdf8776ecf3cf638736ae5a552ee0f9a4ffc1 /eval.h | |
parent | 8cdf0417090b2c6e6b29aa67c7b1efca5501bb7c (diff) | |
download | txr-7deb862ac8925c4ced0246adbd79b353b88512d8.tar.gz txr-7deb862ac8925c4ced0246adbd79b353b88512d8.tar.bz2 txr-7deb862ac8925c4ced0246adbd79b353b88512d8.zip |
yield-from can omit form; access initial value.
* share/txr/stdlib/yield.tl (sys:rcv-item): New struct type.
(sys:obtain-impl): Handle rcv-item, produced by a no-argument
yield-from, which requests an immediate resumption with
the previously given resume value. The reply value
is renamed the resume value.
(yield-from, yield): Form argument is optional.
* txr.1: Rewrote obtain and yield documentation with
lesser focus on implementation and greater focus on
abstract semantics.
Diffstat (limited to 'eval.h')
0 files changed, 0 insertions, 0 deletions