chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #320: The require-library ID & import IMPORT module n


From: Chicken Trac
Subject: [Chicken-janitors] #320: The require-library ID & import IMPORT module name forms are disjoint
Date: Mon, 09 Aug 2010 20:33:50 -0000

#320: The require-library ID & import IMPORT module name forms are disjoint
-----------------------------------+----------------------------------------
 Reporter:  kon                    |       Owner:       
     Type:  enhancement            |      Status:  new  
 Priority:  not urgent at all      |   Milestone:  4.7.0
Component:  unknown                |     Version:  4.5.x
 Keywords:  syntax module library  |  
-----------------------------------+----------------------------------------
 The require-library ID allows (srfi #) but the import IMPORT module name
 does not due to the interpretation of a structured IMPORT as an import
 specifier only.

 Perhaps the module name concept in the context of an 'import' could be
 extended to allow structured module names where the base name does not
 clash with the set of import specifier tags. Specifically '(srfi #)'.

 So

 (import
   ...
   (prefix (only (srfi 1) map for-each member assoc) srfi-1:)
   ...)

 (require-library ... (srfi 1) ...)

 would be legal.

 (The require-library (srfi # ...) & (version ...) forms are not relevant
 here.)

 (The more general case of structured module/library names is not discussed
 here.)

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/320>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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