jspahrsummers / adt

Algebraic data types for Python (experimental, not actively maintained)
MIT License
172 stars 14 forks source link

Examine integration/overlap with pampy #13

Closed jspahrsummers closed 5 years ago

jspahrsummers commented 5 years ago

Found out about pampy after starting this project. It seems like it will provide a lot of similar utility vis-a-vis pattern matching, though it doesn't particularly make the construction/definition of algebraic data types easier.

My instinct is that we should integrate with it really nicely (which might also clean up our own pattern matching abstraction), but otherwise this library still offers additional value—but open to other feedback here.

jspahrsummers commented 5 years ago

Looks like pampy doesn't offer type annotations yet: https://github.com/santinic/pampy/issues/32

jspahrsummers commented 5 years ago

See discussion in #18.