Title: The Validation Course
Open Graph Title: The Validation Course
Description: The course begins with two lessons on case expressions to ensure a solid foundation. From there, we write three functions for checking that inputs are valid passwords according to the rules of our system. The rest of the lessons iteratively expand on and refactor those functions into a small program that validates usernames and passwords, constructs a User if both are valid inputs, and returns pretty error messages if they are not. Along the way we learn about Monad and Applicative and how they are similar and different and how to use types to rethink our solutions to problems.
Open Graph Description: From case expressions to monads, we write functions for validating input strings, and then iteratively refactor that code to add more types and better error reporting.
X: @typeclasses
Domain: typeclasses.com
| theme-color | #289f82 |
| og:image | https://static.typeclasses.com/twitter-validation-5fa1691cb8.png |
| og:type | article |
| article:tag | lens |
| twitter:card | summary_large_image |
Links:
Viewport: width=device-width, initial-scale=1