
18 Sep
2006
18 Sep
'06
10:52 a.m.
On Mon, Sep 18, 2006 at 04:52:33PM +0400, Bulat Ziganshin wrote:
but the goal is not keystrokes itself but easy of understanding. for me, first solution looks rather idiomatic and "intuitively" understandable. second solution requires more time to "got it", but seems easier for novices that are not yet captured higher-level Haskell idioms.
I was obviously kidding, as the ";-)" should have made clear. ;-) Apart for the bug (I did not understand that all the occurrences should be replaced) I wrote something that was as close as possible to Albert's first attempt. For the rest, I completely agree with you and find the second one a lot easier... Andrea