London D Programmers MeetUp
    Kingsley via Digitalmars-d-announce 
    digitalmars-d-announce at puremagic.com
       
    Wed Feb  4 07:02:07 PST 2015
    
    
  
usually it applies to a collection e.g. List
in Scala there is one - that takes a function that returns a 
boolean. e.g.
List(1,2,3).forall(x => x < 3)
which is equivalent to a foldLeft ( I think)
On Wednesday, 4 February 2015 at 14:52:32 UTC, Andrej Mitrovic 
wrote:
> On 2/4/15, Kingsley via Digitalmars-d-announce
> <digitalmars-d-announce at puremagic.com> wrote:
>> A couple of issues came out of the challenge regarding
>> familiarity with syntax and then spending time hunting down the
>> docs - is there a forall in D?
>
> What would forall do?
    
    
More information about the Digitalmars-d-announce
mailing list