Another fold question

Tomasz Zielonka t.zielonka at
Thu Nov 6 08:39:05 EST 2003

On Thu, Nov 06, 2003 at 03:41:32PM +1100, Thomas L. Bevan wrote:
> patty,
> what you have written is not a fold. A fold operates over a list. There is no 
> list in your code, only some sort of tree structure.

I think you are wrong. Folds are not restricted to lists and lists are
also "some sort of tree structure".


Best regards,

.signature: Too many levels of symbolic links

More information about the Haskell-Cafe mailing list