Lesson 7: Introducing Applicative

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

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.

Sign up for access to the full page, plus the complete archive and all the latest content.