We definitely do not want inconsistency here: in all other
places 3..7 by -2 gives empty range.

OK, maybe we should simply say that (for lists)

l(u) gives the same as [l.i for i in u]
l(A.. by n) = l(A..maxIndex(l) by n) if n>0
l(A.. by n) = l(A..minIndex(l) by n) if n<0
n=0 gives error.

I am not so sure what to do for Stream and n<0.
The result is actually a finite stream, but it would
mean to expand the input stream up to A just to get
the first element of the result. Doable, but should
it be implemented, i.e. who would ever use that?

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/02f76caa-b49d-5286-d205-0222ce22a7c2%40hemmecke.org.

Reply via email to