Skip to content

Comments

Document setter for mutable attributes#6198

Merged
fingolfin merged 1 commit intogap-system:masterfrom
ThomasBreuer:TB_mutable_setter
Jan 16, 2026
Merged

Document setter for mutable attributes#6198
fingolfin merged 1 commit intogap-system:masterfrom
ThomasBreuer:TB_mutable_setter

Conversation

@ThomasBreuer
Copy link
Contributor

In particular, add an example that shows the differences.

(I do not like it at all that setters of mutable attributes replace stored values,
but I think it is too late to change this behaviour.)

This pull request is motivated by the discussion in gap-packages/recog/issues/356.

In particular, add an example that shows the differences.
(I do not like it at all that setters of mutable attributes
replace stored values,
but I think it is too late to change this behaviour.)
@ThomasBreuer ThomasBreuer added topic: documentation Issues and PRs related to documentation release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes kind: general proposed change labels Jan 14, 2026
@fingolfin fingolfin merged commit ecfb86a into gap-system:master Jan 16, 2026
47 of 48 checks passed
@ThomasBreuer ThomasBreuer deleted the TB_mutable_setter branch January 16, 2026 12:33
hulpke pushed a commit to hulpke/gap that referenced this pull request Feb 19, 2026
In particular, add an example that shows the differences.
(I do not like it at all that setters of mutable attributes
replace stored values,
but I think it is too late to change this behaviour.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: general proposed change release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: documentation Issues and PRs related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants