LineageShape.FieldPath
A module to help manipulating lists of (nested) fields.
type t = FieldLabel.t list
The fields are listed in syntactic order: [a; b]
for x#a#b
.
include Ppx_compare_lib.Comparable.S with type t := t
include Ppx_compare_lib.Equal.S with type t := t
val yojson_of_t : t -> Ppx_yojson_conv_lib.Yojson.Safe.t
include IStdlib.IStd.Comparable.S with type t := t
val comparator : (t, comparator_witness) Base__Comparator.comparator
module Replace_polymorphic_compare : sig ... end
module Map : sig ... end
module Set : sig ... end
val pp : t Fmt.t
val first_field_is : FieldLabel.t -> t -> bool
Returns true
iff the field path is not empty and its head is equal to the field label.