On 22 March 2014, Michael Reiland <michael.reil...@gmail.com> wrote:
> On 3/22/2014 12:51 PM, LCD 47 wrote:
[...]
> >     Well, there is another function I seem to be reinventing over
> >and over again, namely any() (returns true if all items in a list or
> >dict meet a criterion).
[...]
>
> Did you misspeak there?  I would expect any to return true if even 1
> item met the criterion.  What you described sounds like "all" to me.

    Yes, of course, sorry about that.  Well, they are essentially the
same thing, any(cond) == !all(!cond).

    /lcd

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui