[m-rev.] for review: Add list.any_true/2.
Peter Wang
novalazy at gmail.com
Fri Oct 19 17:22:53 AEDT 2018
On Tue, 09 Oct 2018 17:01:54 +1100 (AEDT), "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
>
>
> On Tue, 9 Oct 2018 16:53:42 +1100, Peter Wang <novalazy at gmail.com> wrote:
> > Anyone else ever want this?
>
> Yes, but I usually contented myself with one of the alternatives you list.
> However, I have no objection to the addition of such a predicate.
>
> > An alternative name would be some_true/2
>
> Or true_for_some. I have no preference for the name.
> However, just as there is all_true and all_false, there should be
> an any_false, some_false, or false_for_some.
Ok, I have added any_true and any_false.
Peter
More information about the reviews
mailing list