diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-01-03 03:17:33 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-01-03 03:17:33 -0800 |
commit | e75e6bda47819e2be53615a2cc8f3d1d20741be2 (patch) | |
tree | d5014baa3b32111d3adcf566bd151c8aa0edfcf2 /termios.c | |
parent | 18d1c715712c74f709240fb389a6601a1a812895 (diff) | |
download | txr-e75e6bda47819e2be53615a2cc8f3d1d20741be2.tar.gz txr-e75e6bda47819e2be53615a2cc8f3d1d20741be2.tar.bz2 txr-e75e6bda47819e2be53615a2cc8f3d1d20741be2.zip |
car, cdr: fall back on lambda method.
* lib.c (car, cdr): Don't fail if the struct object has no car
or cdr method. Use it if it is available, otherwise try to
fall back on the lambda method if that is available.
Diffstat (limited to 'termios.c')
0 files changed, 0 insertions, 0 deletions