guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#62298] [PATCH v2 1/8] services: configuration: Add user-defined san


From: Liliana Marie Prikler
Subject: [bug#62298] [PATCH v2 1/8] services: configuration: Add user-defined sanitizer support.
Date: Thu, 23 Mar 2023 20:47:12 +0100
User-agent: Evolution 3.46.0

Am Donnerstag, dem 23.03.2023 um 15:02 +0000 schrieb Bruno Victal:
> +@var{sanitizer} is the name of a procedure which takes one argument,
@var{sanitizer} is a procedure
> +a user-supplied value, and returns a ``sanitized'' value for the
> field.
> +If none is specified, the predicate @code{@var{type}?} is
> automatically
> +used to construct an internal sanitizer that asserts the type
> correctness
> +of the field value.
If no sanitizer is specified, a default sanitizer is used, which raises
an error if the value is not of @var{type}.

>  @var{serializer} is the name of a procedure which takes two
> arguments,
@var{serializer} is a procedure, which takes two arguments, a name of a
field and the value of said field.


Cheers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]