Skip to content

Explain equal and identical objects #33

@olexandr-konovalov

Description

@olexandr-konovalov

This example may be confusing for new users, important we cover it:

gap> a:=[1,2,3];
[ 1, 2, 3 ]
gap> b:=a;
[ 1, 2, 3 ]
gap> a[3]:=35345345;
35345345
gap> a;
[ 1, 2, 35345345 ]
gap> b;
[ 1, 2, 35345345 ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions