diff options
author | Wojtek Kosior <koszko@koszko.org> | 2023-12-13 19:26:46 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2023-12-13 19:26:46 +0100 |
commit | 4572f8ae1319af0b6d315399794a5fe9fea7a6fc (patch) | |
tree | 37dfba7ddc198b728e40a46c0927fc54559c4f43 /Makefile.am | |
parent | 0309bc25938747c2570e560509644f1d71308006 (diff) | |
download | de-paul-records-4572f8ae1319af0b6d315399794a5fe9fea7a6fc.tar.gz de-paul-records-4572f8ae1319af0b6d315399794a5fe9fea7a6fc.zip |
Add syntax for field updaters.
You can now do
(define-immutable-record-type* my-record (counter #:default 0))
(define old-record (my-record (counter 1)))
(my-record #:<- old-record (counter #:=> 1+))
or
(my-record #:<- old-record (counter #:-> (1+ counter)))
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions