:: Either a b -> Maybe b package:ImpSpec

Return value on the Right and fail otherwise. Lifted version of expectRight.