From e444ae5b03a9113fc6b2fc3fa3e2fd6b71bf8d4b Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 11 Aug 2026 11:21:50 +0200 Subject: kernel: Colour and Subject shared vocabulary The six liturgical colours and the Lord/BVM/saint/temporal distinction are common to both Roman forms, so they are shared closed variants rather than rite-parametric. Subject is so named because class is an OCaml keyword. --- lib/kernel/colour.mli | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/kernel/colour.mli (limited to 'lib/kernel/colour.mli') diff --git a/lib/kernel/colour.mli b/lib/kernel/colour.mli new file mode 100644 index 0000000..f419ecb --- /dev/null +++ b/lib/kernel/colour.mli @@ -0,0 +1,6 @@ +(** Liturgical colours, shared by all Roman rites. *) +type t = White | Red | Green | Violet | Rose | Black [@@deriving sexp] + +val all : t list +val to_string : t -> string +val of_string : string -> t option -- cgit v1.3