You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cscherrer opened this issue
Dec 10, 2018
· 0 comments
Labels
kind:featureIndicates new feature / enhancement requestsparserLanguage parsing and surface syntaxstatus:help wantedIndicates that a maintainer wants help on an issue or pull request
~ is standard notation for statistical distributions, for example x ~ 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:
julia> :(x .~Normal(0,1))
ERROR: syntax:missing comma or ) in argument list
kind:featureIndicates new feature / enhancement requestsparserLanguage parsing and surface syntaxstatus:help wantedIndicates that a maintainer wants help on an issue or pull request
~
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: