No good reason -- but it's too late for H98. Adding it to the Prelude would break some existing programs (ones which define their own foldl'), and it's an unforced change. Alas. Simon | -----Original Message----- | From: Jon Fairbairn [mailto:Jon.Fairbairn@cl.cam.ac.uk] | Sent: 28 July 2001 11:28 | To: haskell@haskell.org | Subject: foldl' | | | Unless I'm mistaken, foldl' (the strict version of foldl) | doesn't appear in (the export list of) the standard prelude | or the list library. | | Is there a good reason for this? New users quite quickly | find that they need it. | | Jón | | | -- | Jón Fairbairn | Jon.Fairbairn@cl.cam.ac.uk | 31 Chalmers Road | jf@cl.cam.ac.uk | Cambridge CB1 3SZ +44 1223 570179 (after 14:00 | only, please!) | | | | _______________________________________________ | Haskell mailing list | Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell |
participants (1)
-
Simon Peyton-Jones