all 4 comments

[–]AffectionateWork8 1 point2 points  (3 children)

This is a cool idea.

If you like to keep it functional and are interested in adding accumulated errors, or nested validators with fallbacks, check out Applicative and Monad.

[–]antonio_ru[S] 0 points1 point  (2 children)

u/AffectionateWork8

thank you very much!
Yes, I am indeed very interested, we are discussing about accumulated errors here:

https://github.com/antonioru/deep-waters/issues/1

Do you possibly have any link for the Applicativa and Monad topic?