Refactoring the retirement calculator to use ValidatedNel

With this new knowledge, we are well equipped to improve our retirement calculator further. We are going to improve SimulatePlanApp to give the users more information if one or many arguments passed to the program are wrong.

When many arguments are wrong, for instance, if the user passes some random text instead of a parsable number, we want to report one error for every bad argument.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset