aboutsummaryrefslogtreecommitdiff
path: root/module/text/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-12-04 01:58:26 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2023-12-09 00:54:20 +0100
commitffd0a028aefd203b4a42ded1e5a592e1b4d92dd7 (patch)
tree7176aa23610558fde1c020ae0b096d2f43bc9dc7 /module/text/calendar.scm
parentCleanup datetime tests. (diff)
downloadcalp-ffd0a028aefd203b4a42ded1e5a592e1b4d92dd7.tar.gz
calp-ffd0a028aefd203b4a42ded1e5a592e1b4d92dd7.tar.xz
Complete rewrite of the lens system.
The old "lens" system was more of nested accessors. This rewrites them to be much better, at the cost of some extra up-front complexity. Beside the change in lenses, and all required adjustments, also adds lens creation to the define-type macro.
Diffstat (limited to 'module/text/calendar.scm')
-rw-r--r--module/text/calendar.scm1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/text/calendar.scm b/module/text/calendar.scm
index 79341114..eece2b67 100644
--- a/module/text/calendar.scm
+++ b/module/text/calendar.scm
@@ -3,7 +3,6 @@
:use-module (srfi srfi-71)
:use-module (srfi srfi-88)
:use-module ((hnh util) :select (when unless group ->))
- :use-module ((hnh util lens) :select (modify))
:use-module ((hnh util io) :select (displayln))
:use-module (hnh util type)
:use-module (ice-9 format)