diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-02-09 07:45:05 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-02-09 07:45:05 -0800 |
commit | a52a10871b45806db86476fc17092368bcc5b1c3 (patch) | |
tree | e03fdd4f1ed7dd123fb3e55f4c23ecbae17c2c71 /tests/010/strstream.expected | |
parent | a824ded1de5099e860e119bec1d3a2ed5e12a1ba (diff) | |
download | txr-a52a10871b45806db86476fc17092368bcc5b1c3.tar.gz txr-a52a10871b45806db86476fc17092368bcc5b1c3.tar.bz2 txr-a52a10871b45806db86476fc17092368bcc5b1c3.zip |
struct: changing meaning of obj.[fun ...] syntax.
Until now, the obj.[fun ...] syntax has uselessly denoted
exactly the same thing as [obj.fun ...]. This latter syntax
is what should be used for that meaning.
The new meaning of obj.[fun ...] will be that it performs
method dispatch, where obj is passed to obj.fun as
the leftmost argument: obj.[fun ...] is [obj.fun obj ...],
with obj evaluated once.
* share/txr/stdlib/struct.tl (qref): Expansion change done
here, with backward compat switch.
* share/txr/stdlib/termios.tl (termios (go-raw, go-cbreak)):
Some a.[b c] turned to [a.b c] here.
* tests/012/oop.tl (animal print): Likewise.
* tests/012/struct.tl: Likewise, and some expansion tests
updated to reflect the new expansion.
* txr.1: Documentation revised in multiple places and compat
note added.
Diffstat (limited to 'tests/010/strstream.expected')
0 files changed, 0 insertions, 0 deletions