...

/

Coding Challenge: Working with TaskEither

Coding Challenge: Working with TaskEither

Let's use TaskEither in a function.

We'll cover the following...

Problem statement

Complete the application function using the predefined functions.

The function should take the result of the checkInput function.

  1. Call the externalService function, using the errorMapper to handle failures.
  2. Uppercase the result of that call.
  3. Use a getOrElse to prefix We got back an error: to any error we receive.

Complete the code

Access this course and 1400+ top-rated courses and projects.