package ocamlformat-lib
Module Format_doc.DocSource
Source
type element = | Text of string| With_size of int| Open_box of {kind : box_type;indent : int;
}| Close_box| Open_tag of Format.stag| Close_tag| Open_tbox| Tab_break of {}| Set_tab| Close_tbox| Simple_break of {}| Break of {}| Flush of {}| Newline| If_newline| Deprecated of Format.formatter -> unit
Source
val either :
left:('a -> 'b -> 'c) ->
right:('d -> 'b -> 'c) ->
('a, 'd) Ocamlformat_stdlib_shims.Either.t ->
'b ->
'c