Hacker News new | ask | show | jobs
by all2 950 days ago
This is what they ended the article on. Return a union type and then error check using isinstance.
1 comments

Oh, so they did. I guess I got bored after reading so many bad approaches trying to write go/rust in python.