Chromium Code Reviews| Index: frog/lib/collections.dart | 
| =================================================================== | 
| --- frog/lib/collections.dart (revision 3161) | 
| +++ frog/lib/collections.dart (working copy) | 
| @@ -14,6 +14,16 @@ | 
| } | 
| } | 
| + static List map(Iterable<Object> source, | 
| + List<Object> destination, | 
| + f(o)) { | 
| + for (final e in source) { | 
| + destination.add(f(e)); | 
| + } | 
| + return destination; | 
| + } | 
| + | 
| + | 
| static bool some(Iterable<Object> iterable, bool f(Object o)) { | 
| for (final e in iterable) { | 
| if (f(e)) return true; |