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: Thu, 22 Apr 2021 07:22:47 -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):

 It's an interesting and exciting idea. It certainly fits the general
 Scheme idea of not piling feature on top of feature!

 At first my mind reeled against it, because it would make a lot of tooling
 even more difficult. On the other hand, we do generate import libraries
 which are fully static, and we already have macros which can introduce
 arbitrarily complex import statements anyway. Just adding helpers to make
 that easier isn't going to hurt anyone.

 However, an import statement dropping prefixes is trivial to write (for
 the user). Writing a custom macro that inspects a module and mangles the
 identifiers into an import list is a whole different ballgame. Remember,
 the entire point of `drop-prefix` or `sans` was to reduce the number of
 keystrokes...

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1735#comment:12>
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]