Swap the generic parameters A and B of this Either.
import arrow.core.Eitherimport io.kotest.matchers.shouldBefun test() { Either.Left("left").swap() shouldBe Either.Right("left") Either.Right("right").swap() shouldBe Either.Left("right")}