Module States.Sum

type ('l, 'r) sum =
  1. | None
  2. | S1 of 'l
  3. | S2 of 'r
val pp_sum : 'l 'r. (Ppx_deriving_runtime.Format.formatter -> 'l -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'r -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> ('l, 'r) sum -> Ppx_deriving_runtime.unit
val show_sum : 'l 'r. (Ppx_deriving_runtime.Format.formatter -> 'l -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'r -> Ppx_deriving_runtime.unit) -> ('l, 'r) sum -> Ppx_deriving_runtime.string
val sum_to_yojson : 'l 'r. ('l -> Yojson.Safe.t) -> ('r -> Yojson.Safe.t) -> ('l, 'r) sum -> Yojson.Safe.t
val sum_of_yojson : 'l 'r. (Yojson.Safe.t -> 'l Ppx_deriving_yojson_runtime.error_or) -> (Yojson.Safe.t -> 'r Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> ('l, 'r) sum Ppx_deriving_yojson_runtime.error_or
val _ : (Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or) -> (Yojson.Safe.t -> 'b Ppx_deriving_yojson_runtime.error_or) -> Yojson.Safe.t -> ('a, 'b) sum Ppx_deriving_yojson_runtime.error_or