Use the wrapper.

This commit is contained in:
Dominik Pantůček 2023-06-23 22:48:32 +02:00
parent 77bb7b9caa
commit f2265de1b7

View file

@ -132,9 +132,11 @@
;; Loads all accounts - it expects .csv files in given directory.
(define (load-accounts accounts-list dir)
(map (lambda (acc)
(bank-fio-parse (make-pathname dir (string-append acc ".csv"))))
accounts-list))
(with-progresses%
#t "Fio" (length accounts-list)
(map (lambda (acc)
(bank-fio-parse (make-pathname dir (string-append acc ".csv"))))
accounts-list)))
;; Reads single number from given file and returns it. If no number
;; is and/or the file does not exist, returns #f.