Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Julia has this. It’s called OffsetArrays.jl. Ironically, it’s a common source of bugs because library authors don’t always anticipate them and loop over 1:length(A) rather than eachindex(A).


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

Search: