Ludovic Courtès
8a16d064fa
records: Add support for 'innate' fields.
* guix/records.scm (make-syntactic-constructor): Add #:innate parameter.
[record-inheritance]: Honor it.
[innate-field?]: New procedure.
(define-record-type*)[innate-field?]: New procedure.
Pass #:innate to 'make-syntactic-constructor'.
* tests/records.scm ("define-record-type* & inherit & innate",
"define-record-type* & thunked & innate"): New tests.
2015-06-11 23:33:32 +02:00
..
2015-05-27 22:36:52 +02:00
2015-05-04 23:30:51 +02:00
2015-06-09 09:48:38 +02:00
2015-06-11 11:19:12 +02:00
2015-05-31 22:39:48 +02:00
2015-01-09 01:01:04 +01:00
2014-10-05 21:58:42 +02:00
2014-03-09 22:10:01 +01:00
2015-04-15 10:19:47 +02:00
2015-05-01 00:06:17 +02:00
2015-06-11 11:19:12 +02:00
2015-03-30 15:21:11 +02:00
2015-05-20 12:13:39 +02:00
2015-01-26 21:58:12 +01:00
2015-06-03 11:47:36 +02:00
2015-04-15 10:19:47 +02:00
2015-06-02 21:55:30 +02:00
2014-09-24 19:08:03 +02:00
2015-01-26 21:58:12 +01:00
2015-05-10 11:07:51 +02:00
2015-06-05 00:58:53 -04:00
2015-01-14 13:34:52 +01:00
2015-06-08 23:00:49 +02:00
2015-01-18 22:19:04 +01:00
2015-05-04 23:30:51 +02:00
2015-03-18 14:43:03 +01:00
2014-04-04 00:23:17 +02:00
2015-05-28 14:41:15 +02:00
2015-06-11 23:33:32 +02:00
2015-05-06 18:26:53 +02:00
2015-05-10 11:07:51 +02:00
2015-01-11 23:50:01 +01:00
2015-06-06 19:05:25 +02:00
2015-04-15 10:19:47 +02:00
2015-05-02 23:15:40 -05:00
2015-06-10 10:25:16 +02:00
2015-05-04 23:30:51 +02:00