develooper Front page | perl.perl6.language | Postings from March 2009

Re: Junction Algebra

Thread Previous | Thread Next
From:
Jon Lang
Date:
March 30, 2009 06:22
Subject:
Re: Junction Algebra
Message ID:
ef30550b0903300622g460e37c3nea84f5495a2f32bb@mail.gmail.com
Here's another useful one:

    any($x) eqv all($x) eqv one($x) eqv $x

but:

    none($x) !eqv $x

That is, applying any, all, or one to a one-item list produces the
equivalent to a single item.  For an empty list: any() eqv all() eqv
().  But what about one() and none()?

-- 
Jonathan "Dataweaver" Lang

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About