summaryrefslogtreecommitdiff
path: root/lib/kernel/citation.mli
blob: 4e6ddb5c639f006f642c1f83784ccac7a1fb0bf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
(** A scripture *reference* (e.g. ["Jn 3:16"]), never scripture text. *)
type part = First | Psalm | Second | Gospel | Tract | Alleluia | Sequence
[@@deriving sexp]

val all_parts : part list
val part_to_string : part -> string
val part_of_string : string -> part option

type t = { part : part; reference : string } [@@deriving sexp]