Hacker News new | ask | show | jobs
by mrfox321 1288 days ago
thats just homogenous Sequence[Optional[T]], though.
3 comments

Yeah, that's a better way of putting it :) 90% of the time, I'm something like Sequence[T], but I'm sure I've used Sequence[Optional[T]] a couple of times. I mean, I could drive donuts in the Piggly Wiggly parking lot at 3a, I just don't, and the same for heterogenous lists.
And everything is a subtype of Any. The usual 'static typing' of dynlangs.
well list[int|str] is as well