> Well, except cases where you know that plain 'funxxx!(x, ...)' works > (like 'setelt!' on matrices) use 'x := funxxx!(x, ...)'.
OK, let me rephrase the question. There was a thread about delete! on List acts abnormally when u has 1 element, delete!(u,1) doesn't modify u. That's because List uses lisp list as its Rep. So for other Domain that supports delete! (ELAGG), when u has 1 element, should we expect that u is empty after delete!(u,1)? I think domain's author should enforce this. In List we can't do this due to technique limit, but in other domains, no reason not to. (otherwise, Stack could just use List as Rep, not Reference Rep, and pop! does not necessarily modifies its argument, and you have to use s := pop! s every time.) -- 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.
