
10 Oct
2013
10 Oct
'13
1:28 p.m.
On Thu, 10 Oct 2013 21:12:28 +0400, Wvv
Is it hard to read?
xs # map $ (+ 3) . snd
Or do you prefer next?
map ((+3).snd) xs
To be honest, I find the former harder to read. It can’t be established objectively, though, as most people are already used to `map f xs` and can read it without any mental effort. On the other hand, I can see myself getting used to `xs # map $ (+ 3) . snd` (by reading it right-to-left: (+3).snd... through “map-interface”... applies to xs; which is why I prefer <$>, by the way).