I think in this case Spad compiler can't do much about it: It generates a SPADCALL in general cases for "rest", and generates an inlined "CDR" for List.
So the repeat of defination is unavoidable. (See the arrays, there's map! in OneDimensionalArrayAggregate, but those array domains repeat the definition of map! .) > if % is List(S) then You repeat the definition in category, I think repeat the definition in domain would be better? -- 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 fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.