Allow .~ infix operator #30341
Labels
feature
Indicates new feature / enhancement requests
help wanted
Indicates that a maintainer wants help on an issue or pull request
parser
Language parsing and surface syntax
~
is standard notation for statistical distributions, for examplex ~ Normal(0,1)
. Because of this, it's a natural choice for probabilistic programming DSLs like Soss.jl and Turing.jl.It would be convenient to allow this notation to be broadcast in the usual way, for example allowing
x .~ Normal(0,1)
. But this currently seems to be disallowed:@StefanKarpinski suggested I open an issue to request this be changed:
cscherrer/Soss.jl#14 (comment)
Thank you!
The text was updated successfully, but these errors were encountered: