Similar problems exists for copy/deepCopy:
(33) -> x:=[[1,2],[3,4]]
(33) [[1,2],[3,4]]
Type:
List(List(PositiveInteger))
(34) -> y:=queue x
(34) [[1,2],[3,4]]
Type:
Queue(List(PositiveInteger))
(35) -> x.1.1 := 5
(35) 5
Type:
PositiveInteger
(36) -> y
(36) [[5,2],[3,4]]
Type:
Queue(List(PositiveInteger))
Should we use deepCopy and guarantee that construct doesn't
share any part of its argument?
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.