Bryan O'Sullivan <[EMAIL PROTECTED]> writes: > For higher dimensions, there are enough options in terms of > traversal direction and what exactly e.g. a fold should fold over > (single elements? lower-dimensional slices?) that a sensible API > doesn't exactly leap out.
How about a 'reduce' instead of 'foldl1'? I think that if you require a commutative operator, the order doesn't matter (except for efficiency and possible rounding issues, I guess). -k -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe