On Thu, 18 Jan 2001  05:28:09 +0900, Conrad Schneiker wrote:
> Hugh Sasse wrote:
> 
> # On Thu, 18 Jan 2001, Dave Thomas wrote:
> # 
> # > While we're talking about IO, what do you think about starting to
> # 
> # Well, while we are talking about this sort of thing, what about adding
> # those Haskell/Lisp/Prolog type list operations on Arrays (head, 
> tail,...)?
> 
> Yes, yes. I'd like to see these as well. 
> 
> Plus reduce. (Sorry about the pun; I mean "And also the reduce 
> operation.". :-)

Which is basically foldl or foldr depending on the implementation. But
I agree: unless non-cummutative higher order functions (i.e. procs in
Ruby) are passed to reduce the implementation doesn't matter.

> Plus some other previously discussed items that seem to have fallen 
> through the cracks. IIRC, this included zip (the Python and some other 

zip is in the haskell script I mentioned in [ruby-talk:9448]

> language thing, not the compression utility) and maybe one of its 
> relatives. I think there was some other nice suggestion for parallel 
> fetching of some sort. 
> 
> Didn't some people out there already do some prototypical Ruby code for 
> some or all of these things?

and the rest too, but it needs more work, especially in the area of
lazy evaluation of infinite lists...

	Michel