[nem-en] Re: [svn] r6599: nemerle/trunk: lib/narray.nncc/completion/CodeCompletionEngine.n ncc/parsing/AST.n ncc/passe...

vc vc at rsdn.ru
Mon Sep 4 19:38:13 CEST 2006


   > On 9/2/06, VladD2 <svnadmin at nemerle.org> wrote:
   > > +    public ToArray[From, To] (this sourse : SCG.ICollection[From],
   > > +      f : From -> To) : array [To]
   > > +    public ToArray[From, To] (this sourse : SCG.IEnumerable [From],
   > > +      f : From -> To) : array [To]
   > 
   > I think this methods should have "Map" in the name. ToArrayMapped
   > maybe? I would go with just Map() but then we might also want to have
   > similar methods returning lists. On the other hand, for lists there
   > are list comprehensions, but sometimes it is clearer to use functions.
   
   I change it to MapToArray.




More information about the devel-en mailing list