summaryrefslogtreecommitdiff
path: root/lib/kernel/mass_formulary.ml
blob: cb3532b690fd1b476b7ef3fb051b35644c27ded4 (plain) (blame)
1
2
3
4
5
6
7
8
9
type source = Proper | Own_slug | Preceding_sunday | Common | Votive [@@deriving sexp]
type t = { said : Slug.t; via : source } [@@deriving sexp]

let source_to_string = function
  | Proper -> "proper"
  | Own_slug -> "own"
  | Preceding_sunday -> "preceding-sunday"
  | Common -> "common"
  | Votive -> "votive"