guix/gnu
Ludovic Courtès 7c1161dba4
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-02 00:02:12 +01:00
..
bootloader gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader. 2022-12-01 14:31:28 -05:00
build system: hurd: Create more ttys. 2022-11-28 11:19:31 +01:00
home home: xdg: Export xdg-base/user-directories getters. 2022-12-01 18:56:23 +04:00
installer
machine
packages gnu: Add alfa. 2022-12-02 00:02:12 +01:00
services records: 'match-record' checks fields at macro-expansion time. 2022-12-02 00:02:12 +01:00
system gnu: raspberry-pi: Add a bootloader-chain for the Raspberry Pi and os examples. 2022-12-01 14:31:29 -05:00
tests
artwork.scm
bootloader.scm gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader. 2022-12-01 14:31:28 -05:00
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: sssd: Update to 2.8.1. 2022-12-01 14:27:13 +01:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm