Hi,
I think there's a small problem with the semantic predicate of the range rule:
range :a :b =
anything:x ?[a <= x & x <= b] -> [x]
A pair of parenthesis fixes the problem:
range :a :b =
anything:x ?[a <= x & (x <= b)] -> [x]
Thanks, Doug
Yup. It's been a known issue (http://lists.squeak.org/pipermail/squeak-dev/2012-August/165622.html) but it has not been pushed to the package.
On Wed, Oct 31, 2012 at 1:53 PM, Douglas McPherson djm1329@san.rr.com wrote:
Hi,
I think there's a small problem with the semantic predicate of the range rule:
range :a :b =
anything:x ?[a <= x & x <= b] -> [x]
A pair of parenthesis fixes the problem:
range :a :b =
anything:x ?[a <= x & (x <= b)] -> [x]
Thanks, Doug
Am 10/31/2012 09:53 PM, schrieb Douglas McPherson:
Hi,
I think there's a small problem with the semantic predicate of the range rule:
range :a :b =
anything:x ?[a <= x & x <= b] -> [x]
A pair of parenthesis fixes the problem:
range :a :b =
anything:x ?[a <= x & (x <= b)] -> [x]
Thanks, Doug
Thanks, looks like I didn't notice when this was reported before. I've fixed the package.
Cheers, Hans-Martin
Thank you!
On Thu, Nov 1, 2012 at 4:11 AM, Hans-Martin Mosner hmm@heeg.de wrote:
Am 10/31/2012 09:53 PM, schrieb Douglas McPherson:
Hi,
I think there's a small problem with the semantic predicate of the range rule:
range :a :b =
anything:x ?[a <= x & x <= b] -> [x]
A pair of parenthesis fixes the problem:
range :a :b =
anything:x ?[a <= x & (x <= b)] -> [x]
Thanks, Doug
Thanks, looks like I didn't notice when this was reported before. I've fixed the package.
Cheers, Hans-Martin
squeak-dev@lists.squeakfoundation.org