[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1735: Strip away prefix when importing
From: |
Chicken Trac |
Subject: |
Re: #1735: Strip away prefix when importing |
Date: |
Wed, 21 Apr 2021 13:00:01 -0000 |
#1735: Strip away prefix when importing
---------------------------------------+---------------------
Reporter: Idiomdrottning | Owner: (none)
Type: enhancement | Status: new
Priority: minor | Milestone: someday
Component: core libraries | Version: 5.2.0
Resolution: | Keywords:
Estimated difficulty: medium |
---------------------------------------+---------------------
Comment (by Idiomdrottning):
The macro version of this expands to import rename so it does whatever
that does, which seems to be that when there is foo-bar and bar, it
ignores foo-bar and just gives you bar.
I agree with giving the original bar a higher priority than the renamed
foo-bar.
Ideally / pragmatically I would want it to give you bar and foo-bar under
their original names and only strip non-colliding names. That's an easy
enough change if people agree.
Another change I might want is to not rename if the new name would be
empty. That's a corner case that might never come up, since say there is
filter and filter-map, the prefix is filter- rather than filter.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1735#comment:9>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/04
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/04
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/04
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/11
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/12
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/21
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/21
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/21
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/21
- Re: #1735: Strip away prefix when importing,
Chicken Trac <=
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/21
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/22
- Re: #1735: Strip away prefix when importing, Chicken Trac, 2021/04/22