From cab4413d62d8228ba034b1610acf64e707a8338f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 14 May 2020 17:45:03 +0200 Subject: Add some TODO's. --- module/util/app.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'module/util') diff --git a/module/util/app.scm b/module/util/app.scm index e5b03b0f..67725a8c 100644 --- a/module/util/app.scm +++ b/module/util/app.scm @@ -38,9 +38,12 @@ [(_ app field value) (hashq-set! (get-ht app) field (delay value))])) +;; TODO setting a field should invalidate the cache of all dependant +;; fields. Among other things allowing a full calendar reload by running +;; (setf 'calendars (load-calendars ...)) (define-syntax setf (syntax-rules () - ;; special case to use current appp) + ;; special case to use current app) [(_ key value) (setf% key value)] -- cgit v1.2.3