aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/security-token.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-05-20 15:40:55 +0200
committerLudovic Courtès <ludo@gnu.org>2021-08-12 12:34:13 +0200
commit5291fd7a4205394b863a8705b32fbb447321dc60 (patch)
tree6ccbfe1bab6a4a995082e2f9df659816ddb2f6dd /gnu/services/security-token.scm
parent1ad0da60d81f4ba59f5f97af930e9b09f561d277 (diff)
downloadguix-5291fd7a4205394b863a8705b32fbb447321dc60.tar.gz
guix-5291fd7a4205394b863a8705b32fbb447321dc60.zip
records: Support field sanitizers.
* guix/records.scm (make-syntactic-constructor): Add #:sanitizers. [field-sanitizer]: New procedure. [wrap-field-value]: Honor F's sanitizer. (define-record-type*)[field-sanitizer]: New procedure. Pass #:sanitizer to 'make-syntactic-constructor'. * tests/records.scm ("define-record-type* & sanitize") ("define-record-type* & sanitize & thunked"): New tests.
Diffstat (limited to 'gnu/services/security-token.scm')
0 files changed, 0 insertions, 0 deletions