<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.19">
<TITLE>Re: Another fold question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I stand corrected</FONT>
</P>
<P><FONT SIZE=2>On Thu, 6 Nov 2003 06:39 pm, Tomasz Zielonka wrote:</FONT>
<BR><FONT SIZE=2>> On Thu, Nov 06, 2003 at 03:41:32PM +1100, Thomas L. Bevan wrote:</FONT>
<BR><FONT SIZE=2>> > patty,</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > what you have written is not a fold. A fold operates over a list. There</FONT>
<BR><FONT SIZE=2>> > is no list in your code, only some sort of tree structure.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I think you are wrong. Folds are not restricted to lists and lists are</FONT>
<BR><FONT SIZE=2>> also "some sort of tree structure".</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> See <A HREF="http://www.haskell.org/hawiki/WhatIsaFold" TARGET="_blank">http://www.haskell.org/hawiki/WhatIsaFold</A></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Best regards,</FONT>
<BR><FONT SIZE=2>> Tom</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>It is inconceivable that a judicious observer from another solar system</FONT>
<BR><FONT SIZE=2>would see in our species -- which has tended to be cruel, destructive,</FONT>
<BR><FONT SIZE=2>wasteful, and irrational -- the crown and apex of cosmic evolution.</FONT>
<BR><FONT SIZE=2>Viewing us as the culmination of *anything* is grotesque; viewing us</FONT>
<BR><FONT SIZE=2>as a transitional species makes more sense -- and gives us more hope.</FONT>
<BR><FONT SIZE=2>- Betty McCollister, "Our Transitional Species", </FONT>
<BR><FONT SIZE=2> Free Inquiry magazine, Vol. 8, No. 1</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Haskell-Cafe mailing list</FONT>
<BR><FONT SIZE=2>Haskell-Cafe@haskell.org</FONT>
<BR><FONT SIZE=2><A HREF="http://www.haskell.org/mailman/listinfo/haskell-cafe" TARGET="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</A></FONT>
</P>
</BODY>
</HTML>