Coding Challenge: Working with TaskEither

Let's use TaskEither in a function.

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

Get hands-on with 1200+ tech skills courses.