probsys / sppl

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

Unify and simplify syntax of case "in" #75

Closed fsaad closed 4 years ago

fsaad commented 4 years ago

switch (expr) case (i in values):

where values will either be a list of points (linspace) or a list of tuples (binspace)

fsaad commented 4 years ago

https://github.com/probcomp/sum-product-dsl/commit/c8ab87599fe6093613cd279741e45ba78f4de605