On 31.05.22 22:42, Ralf Hemmecke wrote:
OK. then the design decision is:
If i=1.. or i=1..e describes the indices of a given stream s and u is a
universal segment of the form a..b by c, then s(u) should be
[s.idx for idx in i | idx in expand(u)]
with the obvious meaning of the condition 'idx in expand(u)'.
Oh I should have rather exchanged u and i above. That is (informally)
[s.idx for idx in u | idx in expand(i)]
because that would correctly give the order in which the elements are
returned even in the case of c<0 or if u = ((a..) by c).
I now even think that this should equally apply to Stream and List.
Ralf
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/bc2565df-30af-24e1-5a75-6ac4a8fcc4d1%40hemmecke.org.