ended5월 12일· 1 sources

I Built Rust-Style ADTs in 30 Lines of Python (Pattern Matching Works)

Why it matters

Sum types — also called tagged unions or algebraic data types — are the feature I miss most when I switch from Rust or Haskell back to Python. The match statement landed in 3.10, but the standard libr...

1
Sources
+0
24h
Growth
132d
Active

Sources

Related Issues