summaryrefslogtreecommitdiff
path: root/gnu-system.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-11 22:57:33 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-11 23:33:32 +0200
commit8a16d064fa265c449d136ff6c3d3267e314cde8d (patch)
treeb564649d1a1e3fd704a5a9efe0cfa5f421252df6 /gnu-system.am
parent792798f48647ef664cfe6fdd7ff313901e383f6c (diff)
downloadguix-patches-8a16d064fa265c449d136ff6c3d3267e314cde8d.tar
guix-patches-8a16d064fa265c449d136ff6c3d3267e314cde8d.tar.gz
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.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions