chicken-janitors
[Top][All Lists]
Advanced

[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: Mon, 12 Apr 2021 06:47:31 -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 sjamaan):

 >  Also we could consider adding a more general irregex based renaming
 facility?

 Please let's not! Import should be deterministic and simple, and ideally
 easy to process by automated tools.

 In general I'm not sure this change is desirable, especially as it
 introduces nondeterminism (what if a module exports both foo and my-foo,
 and we strip the prefix "my-"?)

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1735#comment:4>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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