4 ms·
Oh, you just meant you wanted lambda x: map(f,x) to be an endomorphism for any f (you said map itself should be an endomorphism which confused me). Well, it alr
by omaranto 14y ago
Oh, you just meant you wanted lambda x: map(f,x) to be an endomorphism for any f (you said map itself should be an endomorphism which confused me). Well, it already does what you want: lambda x: map(f,x) takes an iterable and returns an iterable. :)
- haldean 14y agoFair enough (: I'm not the parent, by the way -- I was just taking a stab at what the parent might mean.