0

what are d uses of map, filter, res etc

4th Oct 2016, 9:31 AM
david george
4 ответов
+ 2
maps, filters and reduce are used for lists. reduce is generally used to reduce a list to a single element, for example, finding sum of all elements in a list. maps can be used to make a new list using functions or lambda's that define the rule for the list. filters are used to filter out specific items in a pre existing list.
11th Oct 2016, 1:15 PM
akshil
akshil - avatar
0
thank you for your help
16th Nov 2016, 8:00 AM
ling gan
ling gan - avatar
0
plz give me instances
16th Nov 2016, 8:03 AM
ling gan
ling gan - avatar
0
.
5th Dec 2016, 6:51 AM
Kristiyan Slavev
Kristiyan Slavev - avatar