probsys / sppl

Probabilistic programming system for fast and exact symbolic inference
Apache License 2.0
76 stars 10 forks source link

Consider breaking up mega-module spn.py (no easy solutions) #56

Closed fsaad closed 4 years ago

fsaad commented 4 years ago

Due to inherent *flaws in Python's module system, breaking up will result in circular dependencies that cannot be factored away. One solution is to move the imports from module-level to function-level.

We can have leaf.py, sum.py, and product.py.

*One man's flaws are another man's characteristics

fsaad commented 4 years ago

wont-fix