curry Either constructor