chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1437: csi needs double imports


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1437: csi needs double imports
Date: Sun, 07 Jan 2018 13:29:45 -0000

#1437: csi needs double imports
---------------------------------+---------------------------
            Reporter:  mario     |      Owner:
                Type:  defect    |     Status:  new
            Priority:  major     |  Milestone:  5.0
           Component:  expander  |    Version:  5.0
          Resolution:            |   Keywords:  double import
Estimated difficulty:            |
---------------------------------+---------------------------

Comment (by sjamaan):

 Replying to [comment:3 sjamaan]:
 > We could change the ordering of what `import` does, so that the import
 of the requested library is done **after** all the dependency loading, but
 that's not a complete fix.

 Nah, it's not a fix at all.  If you do something like:

 {{{
 (import srfi-1)
 (import some-other-library)
 }}}

 the toplevel of `some-other-library` will cause a re-import of `scheme` at
 the toplevel, clobbering the srfi-1 imports.

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