Re: [Haskell-cafe] If wishes were horses... (was: Re: definition of sum)

2010-03-15 Thread David Leimbach
On Thu, Mar 11, 2010 at 10:42 PM, wren ng thornton wrote: > David Leimbach wrote: > >> Note that foldl' has a ' to indicate that it's not the same as foldl >> exactly. I would propose that sum' exist as well as sum, and that sum be >> lazy. >> > > I wish Haskell allowed ! to occur (non-initially)

[Haskell-cafe] If wishes were horses... (was: Re: definition of sum)

2010-03-11 Thread wren ng thornton
David Leimbach wrote: Note that foldl' has a ' to indicate that it's not the same as foldl exactly. I would propose that sum' exist as well as sum, and that sum be lazy. I wish Haskell allowed ! to occur (non-initially) in alphanum_' identifiers as well as in symbolic ones. Then we could be m