summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2026-05-19 20:10:51 +0100
committerMatthew Fennell <matthew@fennell.dev>2026-05-19 20:10:51 +0100
commiteaf2bfcf569e5c789f0207d051e6f2263b38127f (patch)
tree825c39edade84cbd070d95d6b56564d31e9abc44
parent9ef2768939305ee9eb933514034fd527100aa7a6 (diff)
Add sun? helpermain
-rw-r--r--util.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.scm b/util.scm
index ca58b0f..c3e703f 100644
--- a/util.scm
+++ b/util.scm
@@ -157,3 +157,6 @@
(define (sat? booking)
(eq? ((compose date->day-name booking-start) booking) 'sat))
+
+(define (sun? booking)
+ (eq? ((compose date->day-name booking-start) booking) 'sun))