[#2367] Standard libraries — Dave Thomas <dave@...>

From ruby-dev summary:

60 messages 2004/02/11

[#2397] PATCH: deprecate cgi-lib, getopts, importenv, parsearg from standard library — Gavin Sinclair <gsinclair@...>

Index: cgi-lib.rb

15 messages 2004/02/12

[#2465] PATCH: OpenStruct#initialize to yield self — Gavin Sinclair <gsinclair@...>

This is a common approach I use to object initialization; I don't know

24 messages 2004/02/19

Re: foldl and foldr

From: Eivind Eklund <eivind@...>
Date: 2004-02-25 16:57:14 UTC
List: ruby-core #2509
On Thu, Feb 26, 2004 at 12:05:50AM +0900, Sean E. Russell wrote:
> On Wednesday 25 February 2004 09:53, Eivind Eklund wrote:
> > We don't have foldr, but I'm not sure I see much point in adding it,
> > given that it would have to do a reverse anyway, and it is better to
> > make this extra cost obvious to the programmer.
> 
> foldr() can be -- and is, in my example code -- implemented without reverse(), 
> which is the point of having it.

Sorry - I read your original mail a little too fast.  Is this something
you often find useful?  I have found inject useful, but I've never ended
up doing reverse.inject, so I question the need for it somewhat.
However, I've not programmed with it available, so it may be that it is
something that makes more design choices easily available...

> > The preferred place for RCRs is (as far as I know) rcrchive.net
> 
> Is this the official location?  RCR used to be at RubyGarden; I missed the 
> move to rcrchive.net.

As far as I know, rcrchive.net is the official location now.

Eivind.

In This Thread