I....I've never thought of this. I don't do that much python, but today I thought about this, and yes, yes it works.

Not sure if I'm gonna use it. I have a use case but it's very minor.

Are there other languages where you can do this? I'm guessing Haskell, but others?
It's one of those "types as a first class citizen" deal.
You can follow @olafurw.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: