On 17/01/2008, Stuart Cook <[EMAIL PROTECTED]> wrote:
> On Jan 18, 2008 1:46 AM, Isaac Dupree <[EMAIL PROTECTED]> wrote:

> > nearly; using Prelude:
> > passall ps v = all ($v) ps
> > passany ps v = any ($v) ps

Yes, thanks Isaac. That should have been obvious, argh...

>
>   passall = swing all
>   passany = swing any
>
> Whether that's any better than the pointwise version is up to you.

I think in this case I will use the explicit version, because I
wouldn't remember how swing worked. What is the motivation for the
name? ;-) (Do I want to hear the answer...?)

D

-- 
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to