guix/gnu
Ludovic Courtès 754a7660a1
records: 'match-record' checks fields at macro-expansion time.
This allows 'match-record' to be more efficient (field offsets are
computed at compilation time) and to report unknown fields at
macro-expansion time.

* guix/records.scm (map-fields): New macro.
(define-record-type*)[rtd-identifier]: New procedure.
Define TYPE as a macro and use a separate identifier for the RTD.
(lookup-field, match-record-inner): New macros.
(match-record): Rewrite in terms of 'match-error-inner'.
* tests/records.scm ("match-record, simple")
("match-record, unknown field"): New tests.
* gnu/services/cuirass.scm (cuirass-shepherd-service): Rename 'log-file'
local variable to 'main-log-file'.
* gnu/services/getmail.scm (serialize-getmail-configuration-file): Move
after <getmail-configuration-file> definition.
2022-12-08 13:21:23 +01:00
..
bootloader
build file-systems: Always do recursive bind mounts. 2022-11-20 21:27:10 +01:00
home
installer installer: Add comment above the 'packages' field. 2022-11-20 23:20:31 +01:00
machine
packages gnu: texinfo, info-reader: Do not run tests when cross-compiling. 2022-12-06 15:22:26 +01:00
services records: 'match-record' checks fields at macro-expansion time. 2022-12-08 13:21:23 +01:00
system image: Clarify comment. 2022-12-06 15:11:44 +01:00
tests tests: docker-system: Increase image size. 2022-12-06 15:10:24 +01:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm installer: Log provenance data. 2022-12-05 14:57:15 +01:00
local.mk gnu: nautilus: Fix crash due to loading extensions twice. 2022-11-20 23:20:32 +01:00
machine.scm
packages.scm
services.scm
system.scm system: Rename and move %base-packages-disk-utilities. 2022-12-06 10:24:39 +01:00
tests.scm