master
Matthew Butterick 5 years ago
parent 9a7c0cf2b9
commit e4123cac46

@ -64,9 +64,9 @@
(define (regenerate-word-index!) (define (regenerate-word-index!)
(make-parent-directory* wordidx-file) (make-parent-directory* wordidx-file)
(define op (open-output-file wordidx-file #:exists 'replace)) (with-output-to-file wordidx-file
(s-exp->fasl (make-word-recs) op) (λ () (s-exp->fasl (make-word-recs) (current-output-port)))
(flush-output op)) #:exists 'replace))
(define wordrecs (define wordrecs
(fasl->s-exp (open-input-file (and (fasl->s-exp (open-input-file (and

Loading…
Cancel
Save