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".

See http://www.haskell.org/hawiki/WhatIsaFold

Best regards,
Tom

-- 
.signature: Too many levels of symbolic links
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to