concept two movie in category functional programming
appears as: two movies

This is an excerpt from Manning's book Grokking Functional Programming.
def bookAdaptations(author: String): List[Movie] = if (author == “Tolkien”) List(Movie(“An Unexpected Journey”), Movie(“The Desolation of Smaug”)) else List.empty