mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Edited comments
This commit is contained in:
parent
41d7a8e876
commit
6262dd0201
1 changed files with 4 additions and 5 deletions
|
@ -195,15 +195,14 @@
|
||||||
|
|
||||||
;; Take a list of imports and create a "database" from them
|
;; Take a list of imports and create a "database" from them
|
||||||
;; consisting of maps between each exported identifier and the
|
;; consisting of maps between each exported identifier and the
|
||||||
;; library that imports that identifier. An exception is raised
|
;; library that imports that identifier.
|
||||||
;; if the same identifier is exported from more than one library.
|
;;
|
||||||
|
;; TODO: Raise an exception if the same identifier is exported
|
||||||
|
;; from more than one library???
|
||||||
;;
|
;;
|
||||||
;; TODO: convert this to use a hashtable. Initially a-lists
|
;; TODO: convert this to use a hashtable. Initially a-lists
|
||||||
;; will be used to prove out the concept, but this is inefficient
|
;; will be used to prove out the concept, but this is inefficient
|
||||||
(define (lib:imports->idb imports)
|
(define (lib:imports->idb imports)
|
||||||
|
|
||||||
;; TODO: build the list, then check for duplicate keys before returning
|
|
||||||
|
|
||||||
(apply
|
(apply
|
||||||
append
|
append
|
||||||
(map
|
(map
|
||||||
|
|
Loading…
Add table
Reference in a new issue