Hacker News new | past | comments | ask | show | jobs | submit login

> 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?




You compute S(1, M-1) and S(M, N) instead and compose them. That's it. This is not complicated stuff.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: