Re: new libraries

2004-04-14 Thread Jens Rieks
On Saturday 10 April 2004 12:42, Tim Bunce wrote: Perhaps Data::DeepReplacePMC What do you think about: PMC::DeepReplace (Data::Replace) PMC::Printable (Data::Escape) PMC::Sort (Data::Sort) PMC::Dumper (Data::Dumper) (We've learnt the hard way with Perl5 modules names that more words are

Re: new libraries

2004-04-14 Thread Jarkko Hietaniemi
Tim Bunce wrote: On Sat, Apr 10, 2004 at 01:49:37PM +0300, Jarkko Hietaniemi wrote: (We've learnt the hard way with Perl5 modules names that more words are good. And more words that mean something... Data ranks right up there as the worst possible names for anything. (Nah, Sys and System

Re: new libraries

2004-04-13 Thread Tim Bunce
On Sat, Apr 10, 2004 at 01:49:37PM +0300, Jarkko Hietaniemi wrote: (We've learnt the hard way with Perl5 modules names that more words are good. And more words that mean something... Data ranks right up there as the worst possible names for anything. (Nah, Sys and System are at the top

Re: new libraries

2004-04-10 Thread Tim Bunce
On Fri, Apr 09, 2004 at 03:02:00PM +0200, Jens Rieks wrote: Hi, On Thursday 08 April 2004 23:49, Tim Bunce wrote: On Thu, Apr 08, 2004 at 08:28:49PM +0200, Jens Rieks wrote: Data::Replace replaces every occurrence of one PMC in a nested data structure with another PMC. I'm not sure

Re: new libraries

2004-04-10 Thread Jarkko Hietaniemi
(We've learnt the hard way with Perl5 modules names that more words are good. And more words that mean something... Data ranks right up there as the worst possible names for anything. Keeping module names very short is a false economy.)

Re: new libraries

2004-04-09 Thread Jens Rieks
Hi, On Thursday 08 April 2004 23:49, Tim Bunce wrote: On Thu, Apr 08, 2004 at 08:28:49PM +0200, Jens Rieks wrote: Data::Replace replaces every occurrence of one PMC in a nested data structure with another PMC. I'm not sure what that means, but Data::Replace seems too vague. What is it? if

Re: new libraries

2004-04-09 Thread Gregor N. Purdy
Sounds like a deep version of map... Regards, -- Gregor On Fri, 2004-04-09 at 06:02, Jens Rieks wrote: Hi, On Thursday 08 April 2004 23:49, Tim Bunce wrote: On Thu, Apr 08, 2004 at 08:28:49PM +0200, Jens Rieks wrote: Data::Replace replaces every occurrence of one PMC in a nested data

new libraries

2004-04-08 Thread Jens Rieks
Hi, I've committed Data::Sort, Data::Replace and Data::Escape. Data::Sort is a new version of the old library/sort.imc. The old file is still there, but will be removed soon. Data::Replace replaces every occurrence of one PMC in a nested data structure with another PMC. Data::Escape contains

Re: new libraries

2004-04-08 Thread Tim Bunce
On Thu, Apr 08, 2004 at 08:28:49PM +0200, Jens Rieks wrote: Data::Replace replaces every occurrence of one PMC in a nested data structure with another PMC. I'm not sure what that means, but Data::Replace seems too vague. What is it? Data::Escape contains a function String that escapes the

Re: new libraries

2004-04-08 Thread Will Coleda
I'm pretty sure this is escaping from PIR's point of view - it started life as a method for _dumper() to dump strings that you could then copy back into PIR and have them work. (though it looks like Jens has made it far more functional since then.) Presumably individual languages will have