23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
(declare (unit items))
(declare (uses common))
(declare (uses debugprint))
(include "common_records.scm")
(import debugprint)
;; Puts out all combinations
(define (process-itemlist hierdepth curritemkey itemlist)
(let ((res '()))
(if (not hierdepth)
(set! hierdepth (length itemlist)))
(let loop ((hed (car itemlist))
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
(declare (unit items))
(declare (uses common))
(declare (uses debugprint))
(include "common_records.scm")
;; (import debugprint)
;; Puts out all combinations
(define (process-itemlist hierdepth curritemkey itemlist)
(let ((res '()))
(if (not hierdepth)
(set! hierdepth (length itemlist)))
(let loop ((hed (car itemlist))
|