On 15-Mar-2000, Malcolm Wallace <[EMAIL PROTECTED]> wrote: > > 1. Marcin Kowalczyk pointed out that scanl1 and > > scanr1 fail on empty args, whereas they could perfectly well > > return [] on such arguments. > > Does the same apply for foldl1 and foldr1? No, returning [] from foldl1 and foldr1 would be ill-typed. -- Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit" PGP: finger [EMAIL PROTECTED] | -- the last words of T. S. Garp.
- RE: Haskell 98: partition; and take,drop,splitAt Ch. A. Herrmann
- RE: Haskell 98: partition; and take,drop,splitAt Simon Peyton-Jones
- RE: Haskell 98: partition; and take,drop,splitAt Koen Claessen
- RE: Haskell 98: partition; and take,drop,splitAt Simon Peyton-Jones
- FW: Haskell 98: partition; and take,drop,splitAt Simon Peyton-Jones
- Re: FW: Haskell 98: partition; and take,drop,split... Fergus Henderson
- Re: FW: Haskell 98: partition; and take,drop,s... George Russell
- Re: FW: Haskell 98: partition; and take,dr... Fergus Henderson
- RE: Haskell 98: partition; and take,drop,splitAt Brian Boutel
- Re: Haskell 98: partition; and take,drop,splitAt Malcolm Wallace
- Fergus Henderson