preface.core
Preface_core.Either
Some helpers over Either.t
Either.t
preface
preface.laws
preface.make
preface.qcheck
preface.specs
preface.stdlib
val swap : ('a, 'b) Either.t -> ('b, 'a) Either.t
swap x transforms Left x into Right x and Right x into Left x
swap x
Left x
Right x