giordano/StarWarsArrays.jl
View on GitHub ↗ ★ 138 Julia
Arrays indexed as the order of Star Wars movies
4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2020-07-16 · latest 2023-05-17
20082026
-
▲ 2
Star Wars Arraysstory by us-merul · 2023-05-17 · 0 comments
-
…array into a 0 based array using a wrapper type that just gets inlined away. Also have a look at https://github.com/giordano/StarWarsArrays.jl
comment by freemint · 2021-11-27 · in PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly) -
…issue as indexing is an operation that is subject to multiple dispatch. For a humorous example see https://github.com/giordano/StarWarsArrays.jl
comment by freemint · 2021-11-27 · in PyTorch: Where we are headed and why it looks a lot like Julia (but not exactly) -
…allow zero based indexing. Or even StarWars based indexing including the machete viewing order. https://github.com/giordano/StarWarsArrays.jl Julia's array interface has has functionality what the first/last index is, so you can use it in…
comment by freemint · 2020-07-16 · in What's New in Lua 5.4