3 ms·
One reason might be macros. Since it's a Lisp, it's very easy to implement custom syntax for the abstractions they want to expose, like defquery in their exampl
by gradys 8y ago
One reason might be macros. Since it's a Lisp, it's very easy to implement custom syntax for the abstractions they want to expose, like defquery in their example. Something like that could only be loosely approximated in Python. Probabilistic programming, being a whole different programming model benefits from this more than most libraries would.
- dtolpin 8y agoAll of Anglican is macro-compiled into CPS-ed Clojure: https://bitbucket.org/probprog/anglican/src/master/src/anglican/trap.cljc https://bitbucket.org/probprog/anglican/src/master/src/angli...