Skip to content

SetUserPreference does not honor check or values #6368

Description

@fingolfin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions