3 ms·
Your pipeline example looks more fit for simple function composition. f = filter (\x color x == BlueColor) . select (\x color x == RedColor)
by kzrdude 14y ago
Your pipeline example looks more fit for simple function composition.
f = filter (\x color x == BlueColor) . select (\x color x == RedColor)
- jes5199 14y agoThat's true for this example, but when you do tree walking stuff in jQuery (like elements.children().children() ) then you have to think of it as a concatting map instead as just a regular map or filter