[r6rs-discuss] [Formal] asymmetry between fold-left and fold-right

AndrevanTonder andre at het.brown.edu
Sun Jan 28 08:40:35 EST 2007


That is interesting.  In addition to breaking with SRFI-1, r5.92rs fold-left is 
also inconsistent with

   - PLT Scheme foldl
   - Guile fold.

On the other hand, I notice that the current 5.92 argument order
coincides with that of

   - MIT Scheme
   - Haskell
   - Mathematica

I think it would probably cause the least amount of confusion if r6rs were to 
follow srfi-1 and PLT, as the formal comment suggests, but I am curious as to 
whether there is a deeper reason why the r5.92rs order has been proposed.

Andre



More information about the r6rs-discuss mailing list