> In FriCAS default is that > data may be shared, so you can not safely pass it to > destructive operations.
What I care about is consistency: by your default, you think it's OK to have construct and parts transfer ownership, but not always. So it's OK (and preferred) to implement 'construct' as "construct s == ref s" in Stack without copy. So the default rule is non-destructive functions sharing structure and destructive functions make copies before changing, instead of non-destructive functions copying structure and destructive functions apply directly. If so, my patch for bags.spad needs changes again. -- 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.
