val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val arbitrary : unit -> 'a
val pretty : unit -> t -> Printable.Pretty.doc
val name : unit -> string
val printXml :
'a BatInnerIO.output ->
[< `Left of PLock.t | `Right of ILock.t ] ->
unit
val to_yojson : [< `Left of PLock.t | `Right of ILock.t ] -> Yojson.Safe.t