diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-07 20:10:54 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-07 20:10:54 -0700 |
commit | 44453f30dd81ffa1e995662fd75a675b5b208406 (patch) | |
tree | be5b301f1899521e63e6d9d1c6facdcd3dbf77ce /stdlib/op.tl | |
parent | c46898c74e39fc56e67e5bc03c574a3144362634 (diff) | |
download | txr-44453f30dd81ffa1e995662fd75a675b5b208406.tar.gz txr-44453f30dd81ffa1e995662fd75a675b5b208406.tar.bz2 txr-44453f30dd81ffa1e995662fd75a675b5b208406.zip |
close-stream: new : protocol from close method.
* stream.c (close_stream): If the underlying method
returns the colon symbol :, then keep the cached
close_result as nil, so that the method can be called
again, but return t to the caller to indicate success.
* tests/018/close-delegate.tl: Test case added.
* tests/018/close-delegate.expected: Updated.
* txr.1: Documented.
Diffstat (limited to 'stdlib/op.tl')
0 files changed, 0 insertions, 0 deletions