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-31 22:39:48 +02:00
2014-03-30 12:02:10 +02:00
2014-09-13 21:53:21 -05:00
2015-02-24 00:01:34 +01:00
2015-02-20 16:05:15 -06:00
2015-05-27 09:36:43 +02:00
2015-06-03 11:47:36 +02:00
2015-04-23 18:52:40 +02:00
2015-05-19 16:09:58 +02:00
2014-04-22 11:30:58 +02:00
2015-05-02 23:15:40 -05:00
2015-03-26 23:54:59 +01:00
2013-02-16 22:17:37 -05:00
2015-05-26 22:26:01 +02:00
2014-02-21 23:49:52 +01:00
2015-01-28 14:00:58 +01:00
2015-05-20 12:13:39 +02:00
2015-05-25 21:34:23 +02:00
2015-06-10 13:47:58 +02:00
2015-05-25 21:34:23 +02:00
2015-06-09 09:48:38 +02:00
2014-01-24 00:01:49 +01:00
2015-04-13 00:02:59 +02:00
2015-06-08 23:00:49 +02:00
2015-02-07 23:16:55 +01:00
2015-05-02 23:15:40 -05:00
2014-04-22 11:30:58 +02:00
2014-03-31 23:34:20 +02:00
2015-05-18 09:47:29 +02:00
2015-04-04 14:16:43 -04:00
2015-01-09 10:38:25 -06:00
2015-06-11 23:33:32 +02:00
2015-01-11 23:50:01 +01:00
2013-12-20 17:17:42 +01:00
2013-12-20 17:17:42 +01:00
2014-09-29 19:30:28 -04:00
2015-06-06 19:05:25 +02:00
2015-03-25 10:46:22 +01:00
2015-04-06 21:27:16 +02:00
2012-04-19 23:09:55 +02:00
2015-02-26 00:04:36 +01:00
2015-02-24 00:01:34 +01:00
2015-05-06 18:26:53 +02:00