[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: [ANN] Non-standard library project
From:       Gavin Sinclair <gsinclair () soyabean ! com ! au>
Date:       2004-08-23 15:23:30
Message-ID: 851777776247.20040824011617 () soyabean ! com ! au
[Download RAW message or body]

On Monday, August 23, 2004, 2:34:35 PM, T. wrote:

> On Tuesday 10 August 2004 11:20 am, Gavin Sinclair wrote:
>> On Wednesday, August 11, 2004, 12:41:23 AM, Ara.T.Howard wrote:
>> >> That should give some idea of the nature of the project.
>> >>
>> >> Gavin
>> >
>> > what kinds of things are you still looking for gavin?
>>
>> Well, I anticipate that eventually the project will contain around 30
>> libraries.  At the moment there are about 5 documented ideas on the
>> Wiki.  So I don't have a shopping list, rather an open ear for
>> suggestions.

> Gavin, I just noticed this post and was looking at the project. I currently
> have a library of my own that I call "succ". Now I'm sure many people have
> there own personal libraries, but I have been farily careful with mine and
> it contains mostly only well refined modifications to the Ruby standard
> classes, that I've picked up here and there, and a few new small libraries as
> well. Would those be of interest?

Yes, it would.  Could you email it to me?

> Speaking of which I sometimes think it would be nice if there were an easy way
> append flags onto #require in order to turn on or off certain
> features.  [...]

>   # turn off :nil_as_emptiness
>   require 'succ/nil', :nil_as_emptiness

> Or something like that. Thoughts?

I think the following is adequate:

  require 'succ/nil'                # whatever methods are in here

or

  require 'succ/nil/as_emptiness'   # which loads 'succ/nil' as well

Gavin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic