[m-rev.] for review: Add list.any_true/2.
Zoltan Somogyi
zoltan.somogyi at runbox.com
Tue Oct 9 17:01:54 AEDT 2018
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.
Zoltan.
More information about the reviews
mailing list