DeclareUserPreference explicit documents that one specify a function check, i.e.
a function that takes a value as its argument and returns either true or false, depending on whether the given value is admissible for this preference; if several preferences are declared together then the number of arguments of the function must equal the length of the name list,
But in practice, as far as I can tell nothing in the GAP library ever calls this.
Likewise, values,
the list of admissible values, or a function without arguments that returns this list,
does not seem to be checked.
AFAIK the user preference code was written by @frankluebeck and @ThomasBreuer, so maybe they can shed some light on this.
DeclareUserPreferenceexplicit documents that one specify a functioncheck, i.e.But in practice, as far as I can tell nothing in the GAP library ever calls this.
Likewise,
values,does not seem to be checked.
AFAIK the user preference code was written by @frankluebeck and @ThomasBreuer, so maybe they can shed some light on this.