Ludovic Courtès d2be7e3c4b
records: Support custom 'this' identifiers.
This lets record users choose an identifier other than 'this-record'.

* guix/records.scm (make-syntactic-constructor): Add #:this-identifier.
[wrap-field-value]: Honor it.
(define-record-type*): Add form with extra THIS-IDENTIFIER and honor
it.
* tests/records.scm ("define-record-type* & thunked & inherit & custom this"):
New test.
2019-03-30 11:08:39 +01:00
..
2018-09-04 17:25:11 +02:00
2019-03-16 18:15:13 +01:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2018-09-04 17:25:11 +02:00
2019-03-23 18:15:36 +01:00
2018-09-07 11:40:22 +02:00
2018-03-27 14:51:44 +02:00
2019-02-05 22:33:06 +01:00
2018-09-04 17:25:11 +02:00
2017-09-28 13:10:10 +02:00
2018-10-29 00:13:38 +01:00
2018-10-18 23:46:33 -04:00
2019-03-24 00:13:53 +01:00
2017-06-15 17:03:19 +02:00
2018-05-10 14:53:56 +02:00
2018-05-13 13:29:27 +02:00
2017-11-17 10:47:49 +01:00