Preface_core.Either
Some helpers over Either.t
Either.t
val swap : ('a, 'b) Stdlib.Either.t -> ('b, 'a) Stdlib.Either.t
swap x transforms Left x into Right x and Right x into Left x
swap x
Left x
Right x