`~` is binary negation. It has nothing to do with lists. I think you're mixing up `~` and slicing?
I wouldn't say `nothing` to do with lists. Can be useful for example if you want either end of a list, into the middle, in a loop. For example.