replace usage of `Either` by `\/` in `Task`