3 ms·
> Every thing you said is applicable exactly with 1, 2 or whatever based indexing. read my statement again, it is about open vs closed interval. Python ranges/
by Iwan-Zotow 7y ago
> Every thing you said is applicable exactly with 1, 2 or whatever based indexing.
read my statement again, it is about open vs closed interval. Python ranges/sequences are composable, Julia ones are not.
> Julia's sequences/arrays are monoids too
really?
suppose you compute sum, and got two results: S(1, M) and S(M, N)
Could you compose them in Julia?
- newen 7y agoYou compute S(1, M-1) and S(M, N) instead and compose them. That's it. This is not complicated stuff.