alashworth / test-issue-import

0 stars 0 forks source link

feature request: abbreviated bound labels #132

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by sdewaele Friday Mar 03, 2017 at 16:47 GMT Originally opened as https://github.com/stan-dev/stan/issues/2238


Summary:

Allow using abbreviated labels for variable bounds to declutter a Stan script.

Description:

Currently, parameter bounds can only be described by is full label, e.g.

real<lower=0, upper=1> a;
real<lower=0, upper=1> b;
real<lower=0, upper=1> c;

The request is to allow abbreviated labels for lower and upper. This helps to declutter your Stan script. E.g. the following would be valid code:

real<low=0, up=1> a;
real<low=0, up=1> b;
real<low=0, up=1> c;

as well as:

real<l=0, u=1> a;
real<l=0, u=1> b;
real<l=0, u=1> c;

Current Version:

v2.14.0

alashworth commented 5 years ago

Comment by bob-carpenter Saturday Mar 04, 2017 at 22:21 GMT


Thanks for submitting a pull request, but we don't want to either break backward compatibility or introduce multiple ways of expressing the same thing. Unless anyone on the dev team disagrees vehemently, I'm going to close this issue.

alashworth commented 5 years ago

Comment by syclik Saturday Mar 04, 2017 at 22:46 GMT


Bob, I whole-heartedly agree with you.

On Sat, Mar 4, 2017 at 5:21 PM, Bob Carpenter notifications@github.com wrote:

Thanks for submitting a pull request, but we don't want to either break backward compatibility or introduce multiple ways of expressing the same thing. Unless anyone on the dev team disagrees vehemently, I'm going to close this issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan/issues/2238#issuecomment-284188989, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ_F9FSn2jZe1i35kgiDH_Zlc7CJgduks5riePvgaJpZM4MSfAS .