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

Not sure if I& #39;m gonna use it. I have a use case but it& #39;s very minor.

Are there other languages where you can do this? I& #39;m guessing Haskell, but others?
It& #39;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: