concept author in category functional programming

appears as: Author, n Author, uthor, uthors, author
Grokking Functional Programming

This is an excerpt from Manning's book Grokking Functional Programming.

  • you have had problems with stability, testability or regression or integration of your software modules,
  • def bookAdaptations(author: String): List[Movie] =
      if (author == “Tolkien”)
        List(Movie(“An Unexpected Journey”),
             Movie(“The Desolation of Smaug”))
      else List.empty