+ 1

Is “list” a type conversion here?

In the “map” and “filter” lessons, is “list” a type conversion here? Or what is it?

24th Nov 2016, 8:50 AM
Juni Wen
Juni Wen - avatar
3 Answers
+ 1
Agree. So, I wonder, if list is a function that converts the result of the map function, what kind of object does map return?
2nd Dec 2016, 10:17 AM
Avi Grabinsky
Avi Grabinsky - avatar
+ 1
I tested this with type function.map function returns an abject of class map. trying to print this directly just outputs a memory location
25th Feb 2017, 1:15 AM
Alan Beveridge
Alan Beveridge - avatar
0
OK, in the Generators lesson it's clearly stated that the list function. So it's a function that can convert to a certain type. One gets a bit confused after so much new input to the brain
 lol
24th Nov 2016, 9:44 AM
Juni Wen
Juni Wen - avatar