Lesson 7: Introducing Applicative

Contents
  • The goal
  • Validating usernames
  • Adding to main
  • Constructing a User
  • Constructors are functions
  • Using Applicative
  • Revisiting main
  • Checking results
Video
  • 15 minutes
Tags
Either Applicative

In this lesson, we encounter a problem as we write the function to construct a User and introduce an operator from the Applicative typeclass to help us.