3 ms·
Yeah that's a fun name for it. It is often a useful style: map (not . elem [2,3]) [1,2,3,4] ===> [True,False,False,True] or grep foo bar.txt | wc -l
by garethrowlands 6y ago
Yeah that's a fun name for it. It is often a useful style:
map (not . elem [2,3]) [1,2,3,4] ===> [True,False,False,True]
or
grep foo bar.txt | wc -l
Also chaining in OOP is a bit "pointless", in that it doesn't mention the "points":
foo.bar().baz()
But, like most things, it's best _in moderation_.