+ 1
Is “list” a type conversion here?
In the “map” and “filter” lessons, is “list” a type conversion here? Or what is it?
3 Respuestas
+ 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?
+ 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
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