diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-01 21:01:17 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-01 21:01:17 +0200 |
commit | 6c37a4c00cd420e50d0cd2ad088268bcbb3d9155 (patch) | |
tree | f5c0052c1cfa1c2a9019f83f7d93d04418379d7a /module/entry-points/benchmark.scm | |
parent | Add set-config! and get-config, along with print for debug. (diff) | |
download | calp-6c37a4c00cd420e50d0cd2ad088268bcbb3d9155.tar.gz calp-6c37a4c00cd420e50d0cd2ad088268bcbb3d9155.tar.xz |
Update remaining code to use new config scheme.
Diffstat (limited to 'module/entry-points/benchmark.scm')
-rw-r--r-- | module/entry-points/benchmark.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/entry-points/benchmark.scm b/module/entry-points/benchmark.scm index a21b4630..4843a80a 100644 --- a/module/entry-points/benchmark.scm +++ b/module/entry-points/benchmark.scm @@ -4,7 +4,6 @@ :use-module (ice-9 getopt-long) :use-module (util) :use-module (vcomponent) - :use-module (util config all) ) @@ -14,5 +13,5 @@ (define (main args) (define opts (getopt-long args opt-spec)) - (load-calendars* calendar-files: (cond [(option-ref opts 'file #f) => list] - [else (calendar-files)]))) + (cond [(option-ref opts 'file #f) => (compose load-calendars* list)] + [else (load-calendars)])) |