Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sigill
· 10y ago · 0 comments
Do you propose having another syntax for getting the zero-length slice just past the last element? The [2:] syntax giving you {} is a pretty natural progression from [0:] giving you {0, 1} and [1:] giving you {1} in your example.
Comments
No comments yet.
Better HN