[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #988: Add drop-prefix to import specifiers
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #988: Add drop-prefix to import specifiers |
Date: |
Thu, 21 Feb 2013 20:23:19 -0000 |
#988: Add drop-prefix to import specifiers
-------------------------+--------------------------------------------------
Reporter: johnwcowan | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: someday
Component: unknown | Version: 4.8.x
Keywords: |
-------------------------+--------------------------------------------------
I'm proposing to add "drop-prefix" to the list of import specifiers. It
has the same syntax as "prefix", but the opposite semantics. Rather than
adding the prefix to all imported identifiers, it removes the prefix from
any imported identifiers that already have it. This allows you to strip
prefixes you don't care about, or change them in two steps by wrapping
"prefix" around "drop-prefix".
Chibi Scheme already has this import specifier, and I have written an
R7RS-large proposal to provide it.
--
Ticket URL: <http://bugs.call-cc.org/ticket/988>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #988: Add drop-prefix to import specifiers,
Chicken Trac <=