[squeak-dev] OMeta2 minor bug

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Thu Nov 1 16:58:08 UTC 2012


Thank you!

On Thu, Nov 1, 2012 at 4:11 AM, Hans-Martin Mosner <hmm at 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
>
>
>



-- 
-- Yoshiki


More information about the Squeak-dev mailing list