Darren Duncan wrote:
> Putting aside legacy issues for the moment,
> I suggest that it might be appropriate to rename the .grep list operator
> to .where, so we can say, for example:
>   @filtered = @originals.where:{ .foo eq $bar };
> We already have a "where" keyword in the language, which is used for
> very similar things, and I think it would be reasonable that users would
> see it used in other situations and think they can use it for filtering
> a list too.

I agree with this proposal, although I don't full understand the
implications of using "where" in this context when it already appears
elsewhere in the language.


Reply via email to