
Sean Perry
Gabriel Ebner wrote:
enrico.santoemma@tin.it writes:
Well... more seriously, does someone have got links to applications with visible source?
The only one I know is darcs: http://abridgegame.org/darcs
which is actually quite readable, even for a newbie. He does like the '$' operator a bit much for my tastes though.
Obviously you haven't realized the great beauty of $. You cannot like $ to much. foldr should be defined as follows: foldr f z [] = id $ z foldr f z (x:xn) = (f $ x) $ foldr f z xn etc. :) Jon Cast

Jon Cast wrote:
Obviously you haven't realized the great beauty of $. You cannot like $ to much. foldr should be defined as follows:
foldr f z [] = id $ z foldr f z (x:xn) = (f $ x) $ foldr f z xn
etc. :)
Am I to assume there is some sarcasm here? Hope so (-: (Sorry, still new to the list, learning the idioms and mannerisms)
participants (2)
-
Jon Cast
-
Sean Perry