Implement dict-map.
This commit is contained in:
parent
6e614feab3
commit
33f02bd329
3 changed files with 31 additions and 3 deletions
|
@ -41,7 +41,8 @@
|
|||
(chicken irregex)
|
||||
testing
|
||||
utils
|
||||
dictionary)
|
||||
dictionary
|
||||
member-file)
|
||||
|
||||
;; Gets all files and symbolic links from given directory. The
|
||||
;; symbolic links are represented by cons cells with car being the
|
||||
|
@ -135,7 +136,12 @@
|
|||
;; member-file module returns. The id key contains whatever is the
|
||||
;; first 4-digit symbol in (cons fname aliases) list.
|
||||
(define (members-base-load-member mdir fname aliases)
|
||||
#f)
|
||||
(let* ((mr0 (make-dict))
|
||||
(mr-fn (dict-set mr0 'file-name fname))
|
||||
(mr-sl (dict-set mr-fn 'symlinks aliases)))
|
||||
(dict-set mr-sl 'info
|
||||
(load-member-file
|
||||
(make-pathname mdir fname)))))
|
||||
|
||||
(define (load-members dn)
|
||||
;; get the directory contents
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue