right<A, B> function
Create a Right value wrapped in a TaskEither.
Example:
final successTask = right<String, int>(10);
Implementation
TaskEither<A, B> right<A, B>(B value) {
return TaskEither(() => Future.value(e.Right<A, B>(value)));
}