Challenge 2: Error Messages Using Maybe Monad
Test your knowledge by writing code to convey error messages as an array using the Maybe monad.
Problem statement
In the previous lesson, we eliminated exceptions by rewriting the authenticateUser
function as a two-track Either monad-based function.
This time, you have to rewrite the function featured there to utilize Maybe monad case analysis.
Requirements
...Access this course and 1400+ top-rated courses and projects.