Jim Ursetto scripsit: > > I've proposed a new type of import specifier to go with "prefix", namely > > "drop-prefix". Rather than prefixing all names, this removes the prefix > > from any names that have it. This would be a Good Thing to add to Chicken; > > Chibi already has it, and it is part of a proposal for R7RS-large. > > I think regex rename would be more general.
Of course it would, and the Perl substitute command would be more general still. For that matter, you could allow an arbitrary Scheme procedure to be provided. But "drop-prefix" is dead simple, has precedent, and is easy to understand and use. -- John Cowan http://www.ccil.org/~cowan co...@ccil.org The native charset of SMS messages supports English, French, mainland Scandinavian languages, German, Italian, Spanish with no accents, and GREEK SHOUTING. Everything else has to be Unicode, which means you get only 70 16-bit characters in a text instead of 160 7-bit characters. _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users