From d14815c86aec3639ceaca535f436678d80895bbc Mon Sep 17 00:00:00 2001 From: vigiraud Date: Sat, 7 Dec 2024 13:17:45 +0100 Subject: [PATCH] Ajout explications utilisation de calendar --- algo/calendar/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/algo/calendar/README.md b/algo/calendar/README.md index 245fd58..d410d74 100644 --- a/algo/calendar/README.md +++ b/algo/calendar/README.md @@ -52,3 +52,10 @@ It took me between 6 and 8 hours to get a working output. My answer is very ugly. In the future I want to analyze why and write a second, more elegant version. + +## Use + +If you need to generate calendars, you can : +- Get in a Chez Scheme environment. In a terminal, you should be able to simply run `$ chez` +- Load the script, using `(load "calendar.scm")` +- Generate calendars for multiple years, using `(cal-plan '() '(2024 2025 2026))`