user1234299 user1234299 - 11 days ago 8
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!