Edited comments

This commit is contained in:
Justin Ethier 2016-03-30 00:50:29 -04:00
parent 41d7a8e876
commit 6262dd0201

View file

@ -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