records: Add MATCH-RECORD-LAMBDA.

* guix/records.scm (match-record-lambda): New syntax.
* tests/records.scm ("match-record-lambda"): New test.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
This commit is contained in:
(unmatched-parenthesis ew syntax 2023-04-28 20:19:05 +01:00 committed by Josselin Poiret
parent e6dc1d3996
commit 4cd5293621
No known key found for this signature in database
GPG key ID: 505E40B916171A8A
4 changed files with 27 additions and 1 deletions

View file

@ -71,6 +71,7 @@
(eval . (put 'lambda* 'scheme-indent-function 1))
(eval . (put 'substitute* 'scheme-indent-function 1))
(eval . (put 'match-record 'scheme-indent-function 3))
(eval . (put 'match-record-lambda 'scheme-indent-function 2))
;; TODO: Contribute these to Emacs' scheme-mode.
(eval . (put 'let-keywords 'scheme-indent-function 3))