[Top][All Lists]

[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

 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: <>
CHICKEN Scheme <>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]