Here are three patches pertaining to MATCH-RECORD; the first mostly by Josselin
Poiret, with modifications, and the latter two by me. The former two improve
MATCH-RECORD's error reporting, and the last removes a TODO by adding support in
MATCH-RECORD for unpacking the values of fields marked THUNKED and DELAYED!
records: match-record: Raise a syntax error if TYPE is nonexistent.
records: match-record: Display more helpful field-not-found error.
records: match-record: Support thunked and delayed fields.
guix/records.scm | 95 ++++++++++++++++++++++++++++++-----------------
tests/records.scm | 29 +++++++++++++++
2 files changed, 89 insertions(+), 35 deletions(-)