File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6868(define (make-merger . fields)
6969 (λ tables
7070 (define rows (apply append tables))
71- (define groups (make-hasheq ))
71+ (define groups (make-hash ))
7272 (for ([row rows])
7373 (define-values (values key*) (partition cdr (map cons row fields)))
7474 (define key (map car key*))
123123
124124(define (timeline-merge . timelines)
125125 ;; The timelines in this case are JSON objects, as above
126- (define types (make-hasheq ))
126+ (define types (make-hash ))
127127 (for* ([tl (in-list timelines)] [event tl])
128- (define data (hash-ref! types (hash-ref event 'type ) (make-hasheq )))
128+ (define data (hash-ref! types (hash-ref event 'type ) (make-hash )))
129129 (for ([(k v) (in-dict event)] #:when (hash-ref timeline-types k #f ))
130130 (if (hash-has-key? data k)
131131 (hash-update! data k (λ (old) ((hash-ref timeline-types k) v old)))
You can’t perform that action at this time.
0 commit comments