
5 Aug
2004
5 Aug
'04
1:01 p.m.
Sean Perry
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)
Yes. Much sarcasm (which I considered appropriate given the official subject). And one :) Jon Cast