extract the left element of an either
extract the right element of an either
swap the elements of an Either