aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points/benchmark.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-05-06 12:43:28 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-05-06 12:43:28 +0200
commit1eadb9ad346e7326cea9b88ba92ecd24d672e400 (patch)
treec172b085608a5bdb024d506094193a4428a11268 /module/entry-points/benchmark.scm
parentChange to only call get-datetime in parse. (diff)
downloadcalp-1eadb9ad346e7326cea9b88ba92ecd24d672e400.tar.gz
calp-1eadb9ad346e7326cea9b88ba92ecd24d672e400.tar.xz
Made benchmark main runnable again.
Diffstat (limited to 'module/entry-points/benchmark.scm')
-rw-r--r--module/entry-points/benchmark.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/entry-points/benchmark.scm b/module/entry-points/benchmark.scm
index 4843a80a..701d786b 100644
--- a/module/entry-points/benchmark.scm
+++ b/module/entry-points/benchmark.scm
@@ -3,15 +3,15 @@
:use-module (ice-9 getopt-long)
:use-module (util)
- :use-module (vcomponent)
+ :use-module (util app)
)
(define opt-spec
- '((file (value #t) (single-char #\f))))
+ '())
(define (main args)
(define opts (getopt-long args opt-spec))
- (cond [(option-ref opts 'file #f) => (compose load-calendars* list)]
- [else (load-calendars)]))
+ (write (getf 'calendars app: (current-app)))
+)