user1234299 user1234299 - 1 month ago 17
Python Question

Best way to define algebraic data types in Python?

I know that Python is NOT Haskell or Ocaml, but which is the best way to define algebraic data types in Python (2 or 3)? Thanks!

Answer

Macropy provides algebraic data types, pattern matching and more!