Hacker News new | past | comments | ask | show | jobs | submit login

thats just homogenous Sequence[Optional[T]], though.



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




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

Search: