swap abstract method

Either<R, L> swap()

Swaps the sides of this Either, turning Left into Right and vice versa.

Implementation

Either<R, L> swap();