blob: 89fceb6fd7a2a4cf74d50e0ae951d619347f4f79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(* Everything a rite supplies, bundled. Passing these as loose arguments let a
caller pair one rite's vocab with another's temporal; bundling makes that
unrepresentable through the normal path. *)
type ('s, 'r) t = {
id : string;
vocab : ('s, 'r) Vocab.t;
year_start : int -> Date.t;
temporal : Date.t -> ('s, 'r) Temporal.t;
anchors : int -> (string * Date.t) list;
rules : ('s, 'r) Precedence.rules;
season_runs : 's list;
transfer_target :
'r Precedence.candidate -> Date.t -> (Date.t -> 'r Celebration.t) -> Date.t;
}
|