The thing I like about @id1660's approach is that it uses types primarily for productivity, rather than correctness. Then there's some guarantees as a bonus.
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.