SRFI-1's fold is not fold-left! Peter Kourzanov 03 Nov 2012 12:17 UTC
Dear Manuel,,

While translating some OCaml code I have come across the following
discrepancy. Although it is known, it is worthwhile to mention it, I
think. The SRFI-1's fold is not actually a fold-left (it is mentioned
in passing in SRFI-1 itself that F's args are flipped w.r.t. MIT-Scheme
and Haskell).

To set things straight, I think, it would make sense to add a fold-left
function to Bigloo (and maybe to the SRFI-1 itself). An example patch is
attached (fold-left)

Kind regards,

P.S. Also attached is a comparable patch for SLIB.