diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-10-17 08:12:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-10-17 08:12:10 -0700 |
commit | 8357dd0ce75b5cace504acfcef2c31ee83a35e9c (patch) | |
tree | 4487382d7fd86c7132bccf80ba26b3fab8af8db3 /time.c | |
parent | 74ea4ee2f89457adbe5cf6facadd8e8b389517ab (diff) | |
download | txr-8357dd0ce75b5cace504acfcef2c31ee83a35e9c.tar.gz txr-8357dd0ce75b5cace504acfcef2c31ee83a35e9c.tar.bz2 txr-8357dd0ce75b5cace504acfcef2c31ee83a35e9c.zip |
defstruct: new :inherit clause.
The :inherit clause allows custom struct clauses to
inject inherited bases.
* stdlib/struct.tl (defstruct): Recognize :inherit clause,
adding symbol arguments to extra list of supers that
get appended to the list coming from defstruct's
seconda rgument.
(define-struct-clause): Disallow :inherit clause name.
* tests/012/oop-dsc.tl: New tests.
* txr.1: Documented.
Diffstat (limited to 'time.c')
0 files changed, 0 insertions, 0 deletions