user1234299 user1234299 - 1 year ago 95
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 Source

Macropy provides algebraic data types, pattern matching and more!